Skip to contents

Install locally cloned repo for builiding image purposes

Usage

installLocalPackage(repo_path, additionalRepos = NULL, base_dir = "/mnt/vol")

Arguments

repo_path

String of repository directory.

additionalRepos

List of additional Repos

base_dir

String of base working directory.

Value

NULL

Examples

installLocalPackage(system.file(
package = "gDRstyle", "tst_pkgs", "dummy_pkg"
))
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#> * checking for file ‘/tmp/RtmpD0Ow68/file1478396b2/dummy_pkg/DESCRIPTION’ ... OK
#> * preparing ‘fakePkg’:
#> * checking DESCRIPTION meta-information ... OK
#> * checking for LF line-endings in source and make files and shell scripts
#> * checking for empty or unneeded directories
#> * building ‘fakePkg_1.0.tar.gz’
#> 
#> Installing package into ‘/usr/local/lib/R/site-library’
#> (as ‘lib’ is unspecified)