Skip to content

rspm create source#

Command to create sources

rspm create source [flags]

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=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
      --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.
      --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.

Options inherited from parent commands#

  -c, --config string          Path to config file
  -o, --output-format string   Specify the output format 'human' for human-readable output or 'json' for JSON-encoded output. (default "human")
  -v, --verbose                Provide additional output