update.dev.pkg

0th

Percentile

Perform update of development version of a package

It will download and install package from devel repository only when new commit is available there, otherwise only PACKAGES file is transferred. Defaults are set to update data.table, other packages can be used. Their repository has to include git commit information in PACKAGES file.

Keywords
data
Usage
# S3 method for dev.pkg
update(object="data.table",
repo="https://Rdatatable.gitlab.io/data.table", field="Revision",
type=getOption("pkgType"), …)
Arguments
object

character scalar, package name.

repo

character scalar, url of package devel repository.

field

character scalar, metadata field to use in PACKAGES file and DESCRIPTION file, default "Revision".

type

character scalar, default getOption("pkgType"), used to define if package has to be installed from sources, binaries or both.

passed to install.packages.

Details

In case if devel repository does not provide package binaries user has have development tools installed for package compilation to use this function.

Value

NULL.

See Also

data.table

Aliases
  • update
  • update.dev.pkg
Examples
# NOT RUN {
  # data.table::update.dev.pkg()
# }
Documentation reproduced from package data.table, version 1.12.2, License: MPL-2.0 | file LICENSE

Community examples

Looks like there are no examples yet.