Skip to content

rspm url create#

Command to create a URL identifier

rspm url create [flags]

Examples#

  rspm url create --date=2020-11-06 --repo=all
  rspm url create --repo=cran --snapshot=cran:2020-11-06 --snapshot=local:5566
  rspm url create --repo=all --date=2020-11-06 --snapshot=cran:2020-11-06 --snapshot=local:5566 --lock
  rspm url create --repo=cran --date=2020-11-07 --snapshot=cran:2020-11-06

Options#

      --date string        The date for the URL in YYYY-MM-DD format. Either --date or --snapshot (or both) must be specified.
  -h, --help               help for create
      --lock               Generate a locked URL identifier.
      --no-alias           Generate a URL without using a shortened alias.
      --repo string        The name of the repo. For Bioconductor repos, specify the Bioconductor version with an '@' symbol, e.g. 'bioconductor@3.19'.
      --snapshot strings   The snapshots to use in 'source:snapshot' format. You can specify more than one --snapshot flag. Supports both the YYYY-MM-DD format (for CRAN) or transaction IDs. Either --date or --snapshot (or both) must be specified.

Options inherited from parent commands#

  -a, --address string             The address of the remote server. If not specified, the PACKAGEMANAGER_ADDRESS environment variable is used.
  -c, --config string              Path to config file
      --insecure-ssl-skip-verify   If true, skip SSL certificate validation. This reduces the security that SSL normally provides.
  -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