Skip to contents

vendor_pkgs() is used to package the dependencies as required by CRAN. It executes cargo vendor on your behalf creating a vendor/ directory and a compressed vendor.tar.xz which will be shipped with package itself. If you have modified your dependencies, you will need need to repackage

Usage

vendor_pkgs(path = ".", quiet = FALSE, overwrite = NULL)

Arguments

path

File path to the package for which to generate wrapper code.

quiet

Logical indicating whether any progress messages should be generated or not.

overwrite

Logical scalar or NULL indicating whether the files in the path should be overwritten. If NULL (default), the function will ask the user whether each file should be overwritten in an interactive session or do nothing in a non-interactive session. If FALSE and each file already exists, the function will do nothing. If TRUE, all files will be overwritten.

Value

  • vendor_pkgs() returns a data.frame with two columns crate and version

Examples

if (FALSE) { # \dontrun{
vendor_pkgs()
} # }