run build1 and capture the R CMD build log

build1_with_buildsink(srcpath, dest = ".", ...)

Arguments

srcpath

character(1) path to source folder for a package

dest

character(1) destination folder

...

pass to pkgbuild::build