vet: Test an check multiple packages.

Description Usage Arguments Value See Also Examples

Description

Vectorized versions of devtools::test() and devtools::check() designed to work with multiple packages stored under a single parent directory.

Usage

1
2
3
4
5
vet(pkgs, .f, parent = fs::path_dir(usethis::proj_get()))

test_pkgs(pkgs, parent = fs::path_dir(usethis::proj_get()))

check_pkgs(pkgs, parent = fs::path_dir(usethis::proj_get()))

Arguments

pkgs

Character string of the names of packages to vet.

.f

A symbol; either devtools::test or devtools::check.

parent

The absolute path to the parent directory of all packages. You can omit this if your working directory is one of the packages under the parent directory.

Value

Invisible.

See Also

devtools::test() and devtools::check().

Examples

1
2
3
4
5
6
## Not run: 
pkgs <- c("fgeo.tool", "fgeo.abundance")
test_pkgs(pkgs)
check_pkgs(pkgs)

## End(Not run)

maurolepore/vet documentation built on May 27, 2019, 3:31 p.m.