scan a slice of an ArtifSet for events produced in R CMD check of source

collect_events(
  af,
  host,
  event_class = "warnings",
  BPPARAM = BiocParallel::bpparam(),
  which_to_use = NULL
)

Arguments

af

instance of ArtifSet

host

character(1) name of host on which build report was generated

event_class

character(1) "warnings" (default) or "errors"

BPPARAM

instance of a BiocParallel BiocParallelParam subclass

which_to_use

vector of elements in ArtifSet (can be package names or numeric indices), defaults to NULL in which case all elements are examined for events

Examples

z = make_demo_ArtifSet()
#> starting untar...
#> done.
h = slot(z, "hostnames")
h
#>       linux       macos     windows 
#> "nebbiolo1"   "merida1" "palomino3" 
collect_events(z, event_class="warnings", host=h[1])
#> bbsBuildArtifacts event_collection instance
#> 2 events, 0 no-parse paths.
collect_events(z, event_class="errors", host=h[2])
#> bbsBuildArtifacts event_collection instance
#> 0 events, 0 no-parse paths.