rspm create source#
Command to create sources
Examples#
rspm create source --name=[source name]
rspm create source --name=[source name] --type=[bioconductor|cran|cran-snapshot|curated-cran|curated-pypi|git|git-python|local|local-python|pypi]
rspm create source --name=[source name] --type=curated-cran --snapshot=2017-11-07
rspm create source --name=[source name] --type=curated-cran --include=depends,imports,linking-to,suggests --snapshot=2017-11-07
rspm create source --name=[source name] --type=curated-cran --include=none --snapshot=2017-11-07
rspm create source --name=[source name] --type=cran-snapshot --snapshot=2020-07-09
rspm create source --name=[source name] --type=curated-pypi
rspm create source --name=[source name] --type=local-python
rspm create source --name=[source name] --type=git-python
rspm create source --type=bioconductor --version=3.11
Options#
-h, --help help for source
--include string A comma-separated list of dependency types to include in the curated-CRAN source. Only valid for curated-CRAN sources. Valid values include 'imports', 'depends', 'linking-to', 'suggests', 'none', and 'all'. For Enhanced and Advanced licenses only. (default "imports,depends,linking-to")
--name string The name of the source.
--snapshot string The initial CRAN snapshot to use for curated-cran sources. Provide either a transaction id or a snapshot date in yyyy-mm-dd format. For Enhanced and Advanced licenses only.
--strict When true, uses strict mode for curated-CRAN creation. For Enhanced and Advanced licenses only.
--succeed-on-existing Do not return an error if source already exists
--type string Optional. The type of source. Must be one of bioconductor, cran, cran-snapshot, curated-cran, curated-pypi, git, git-python, local, local-python, or pypi. Defaults to 'local'.
--version string The Bioconductor version.