pkg_build {pkgdepends} | R Documentation |
Create a binary package from an installed package
Description
The built package will be in the current working directory.
Usage
pkg_build(
pkg,
library = .libPaths()[1],
flavor = Sys.getenv("PKG_BUILD_FLAVOR"),
build_number = 1L
)
Arguments
pkg |
Package name. |
library |
Library path. |
flavor |
Platform flavor. Defaults to the |
build_number |
An integer number that is added to the file name, after the version number, to be able to have multiple builds for the same package version. |
Details
This function is currently experimental.
Value
Path to the built package.
[Package pkgdepends version 0.9.0 Index]