Install locally cloned repo for builiding image purposes
Source:R/build_tools.R
installLocalPackage.RdInstall locally cloned repo for builiding image purposes
Examples
installLocalPackage(system.file(
package = "gDRstyle", "tst_pkgs", "dummy_pkg"
))
#> ── R CMD build ─────────────────────────────────────────────────────────────────
#> * checking for file ‘/tmp/RtmpWNk6yX/file1a03400b5fff/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
#> Removed empty directory ‘fakePkg/tests/testthat/_snaps’
#> * building ‘fakePkg_1.0.tar.gz’
#>
#> Installing package into ‘/tmp/RtmpWNk6yX/temp_libpath1a031727199f’
#> (as ‘lib’ is unspecified)