rspm url create#
Command to create a URL identifier
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.
--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.