Please use this script to create recipes for R packages on CRAN that follow the
conventions used by the conda-forge project. It runs conda skeleton cran
and
then cleans up the result. Please mention in your Pull Request to
staged-recipes that you used the helper script to expedite the review
process. Also, please only submit one recipe per Pull Request.
You will need conda and conda-build 3 (3.17.2+) installed:
conda install -c conda-forge conda-build
To use the Python script run.py
, you will need to install Python 3.
Alternatively, to use the R script run.R
, you will need to install R and the
stringr package.
Either of these scripts can be run on Linux, macOS, and Windows.
Put the package name(s) in packages.txt
in the form of r-foobar
(lowercase)
Add your GitHub username to the list of maintainers in extra.yaml
Execute the helper script using one of the following methods:
a. Run the Python script in the Terminal
python run.py
b. Run the R script in the Terminal
Rscript run.R
c. Source the R script in the R console
source("run.R")
d. Run the bash script in the Terminal (for backwards compatibility. This runs the Python script)
bash run.sh
Please check the recipe(s) manually. Especially the LICENSE section - this sections should not contain the word license.
Move the recipe directory to staged-recipes/recipes
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。