Install locally cloned repo for builiding image purposes
Source:R/build_tools.R
installLocalPackage.Rd
Install locally cloned repo for builiding image purposes
Arguments
- repo_path
String of repository directory.
- additionalRepos
List of additional Repos
- base_dir
String of base working directory.
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)