R/build1.R
build1.Rd
prepare and build a package tarball, not exported because we use build1_with_buildsink to capture log
build1(srcpath, dest = ".", ...)
character(1) path to source folder for a package
character(1) destination folder
pass to pkgbuild::build
If preparation for building triggers a try-error, the resulting exception object is returned. Otherwise the result of pkgbuild::build() is returned.