pkgzip_build_package_files: Builds PKGZIP out of passed package files.

Description Usage Arguments Details Value See Also Examples

Description

Builds PKGZIP out of passed package files.

Usage

1

Arguments

files

vector of files to upload. (type: character)

path

folder path to put output zip into. The folder must exist. (type: character: default: getwd())

Details

Logs all messages onto rsuite logger. Use logging::setLevel to control logs verbosity.

Value

created pkgzip file path (invisible).

See Also

Other in PKGZIP building: pkgzip_build_bioc_package, pkgzip_build_ext_packages, pkgzip_build_github_package, pkgzip_build_prj_packages

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  # download logging package
  pkg_fpath <- utils::download.packages("logging",
                                        repos = "https://cloud.r-project.org/",
                                        destdir = tempdir())[1,2]

  # build PKGZIP
  pkgzip_fpath <- pkgzip_build_package_files(files = pkg_fpath, path = tempdir())

  # list content of pkgzip created
  unzip(pkgzip_fpath, list = TRUE)

RSuite documentation built on June 10, 2019, 5:03 p.m.