Skip to content

rattler-build generate-recipe cran#

Generate a recipe for an R package from CRAN

Usage#

rattler-build generate-recipe cran [OPTIONS] <PACKAGE>

Arguments#

  • <PACKAGE>
    Name of the package to generate
    required: true

Options#

  • --universe (-u) <UNIVERSE>
    The R Universe to fetch the package from (defaults to cran)
  • --tree (-t)
    Also create recipes for the dependencies that are not available in the --check-available channels (default: conda-forge)
  • --all
    With --tree, create recipes for every dependency, without checking whether it is already available
  • --check-available <CHANNEL>
    Check dependencies against this channel (can be repeated) and warn about the ones it doesn't have
    May be provided more than once.
  • --write (-w)
    Whether to write the recipe to a folder
  • --maintainer (-m) <GITHUB_ID>
    GitHub handle(s) to list under extra.recipe-maintainers (repeatable)
    May be provided more than once.
  • --staged-recipes
    Shape the recipe for a conda-forge staged-recipes submission: download through conda-forge's cran_mirror variant, leave out the skip for a minimum R version, require the C standard library next to the compilers, list conda-forge/r as a maintainer and append the package's DESCRIPTION file for reviewers