parallel_tarballs: create tarballs from source folders

Description Usage Arguments Value Note

View source: R/update_support.R

Description

create tarballs from source folders

Usage

1
parallel_tarballs(paths, dest = ".", ncores = 6)

Arguments

paths

vector of paths to R package source folders

dest

location where pkgbuild::build will deliver tarball

ncores

sets options(mc.cores) value

Value

the result of parallel::mclapply, which may include some try-error objects

Note

This function will call 'build1_with_buildsink' to capture the build log messages in a file. The file will have suffix '.bldlog.txt'. If the build for package i throws a try-error, that object will be saved in an object basename(paths[i])_err, serialized to basename(paths[i])_err.rda. TODO: BiocParallel


vjcitn/BiocBBSpack documentation built on Nov. 21, 2020, 1:18 p.m.