collect_events: scan a slice of an ArtifSet for events produced in R CMD...

View source: R/tabulate_events.R

collect_eventsR Documentation

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

Description

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

Usage

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()
h = slot(z, "hostnames")
h
collect_events(z, event_class="warnings", host=h[1])
collect_events(z, event_class="errors", host=h[2])

vjcitn/bbsBuildArtifacts documentation built on Aug. 6, 2023, 2:06 p.m.