R/tabulate_events.R
collect_events.Rd
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
)
instance of ArtifSet
character(1) name of host on which build report was generated
character(1) "warnings" (default) or "errors"
instance of a BiocParallel BiocParallelParam subclass
vector of elements in ArtifSet (can be package names or numeric indices), defaults to NULL in which case all elements are examined for events
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.