powered by
tests a list of source packages
pkgs_test( pkgids = names(filter_srcpkgs(src_pkgs, filter)), src_pkgs = get_srcpkgs(), filter = NULL, quiet = TRUE, ... )
the results as a pkgs_test object
pkgs_test
a list of package ids (names, paths or object), or a srcpkgs object. Also accept a singleton package object
a collection of source packages as a srckgs object.
srckgs
filter out the packages to test using this pattern
whether to be quiet/silent
passed to pkg_test
pkg_test
## create a dummy collection of srcpkgs by replicating the dummy srcpkg pkg <- setup_and_get_dummy_srcpkg() pkgs <- srcpkgs(list(pkg, pkg)) res <- pkgs_test(pkgs, error_on = "never") print(res)
Run the code above in your browser using DataLab