Skip to contents

Create package specification list which consists of all the details required to identify and acquire source of the package.

Usage

package_spec(
  name = NULL,
  repos = NULL,
  version = numeric_version("0.0"),
  op = ">"
)

package_spec_source(path = NULL, ...)

package_spec_archive_source(path = NULL, ...)

Arguments

name

name of the package.

repos

repository where package with given name should identified.

version

package_version object specifying minimal version required by packages depending on this package.

op

operator used with version.

path

path to the source of the package (either bundled or not). URLs are acceptable.

...

parameters passed to downstream constructors