build_and_install_package: Build, Install and Load Package

Description Usage Arguments Value

View source: R/build_and_install_package.R

Description

Builds, installs and loads the package. In addition the source package is saved in the directory with the files for the Docker image.

Usage

1
2
build_and_install_package(pkg = ".", dir_source_packages,
  pkgname_pkgversion, verbose = FALSE, ...)

Arguments

pkg

Path to a package, or within a package.

dir_source_packages

character directory containing the specific local source packages, that will be included in the Docker container image.

pkgname_pkgversion

character the package name concatenated with the version number of the package.

verbose

logical should messages be printed or not?

...

optional arguments for install packages.

Value

invisibly. The package is built, installed and loaded as side effects. Furthermore the source package is saved in the folder containing the files for the Docker image.


dockr documentation built on Dec. 20, 2019, 5:06 p.m.