Learn R Programming

srcpkgs (version 0.2)

pkgs_check: checks a list of source packages

Description

checks a list of source packages

Usage

pkgs_check(
  pkgids = names(filter_srcpkgs(src_pkgs, filter)),
  src_pkgs = get_srcpkgs(),
  filter = NULL,
  lib = ".check",
  quiet = FALSE,
  fail_on_error = FALSE,
  ...
)

Value

the results as a pkgs_test object

Arguments

pkgids

a list of package ids (names, paths or object), or a srcpkgs object. Also accept a singleton package object

src_pkgs

a collection of source packages as a srckgs object.

filter

filter out the packages to check using this pattern

lib

directory where to install and find installed pkgs

quiet

whether to be quiet/silent

fail_on_error

whether to die if there is at least an error or warning in the checks

...

passed to pkg_check

Examples

Run this code
# \donttest{
 pkg <- setup_and_get_dummy_srcpkg()
 res <- pkgs_check(pkg, lib = tempfile(), fail_on_error = FALSE)
 print(res)
# }

Run the code above in your browser using DataLab