snapshots: CRAN Snapshots

IndexR Documentation

CRAN Snapshots

Description

Functions used to read R CMD check informations.

Usage

ListCheckings(checkdir)
ReadChecking(date, dir, filename, checkdir, extract.maintainer=FALSE)
ConvertCSV(checks, datadir)
SnapshotIndex(datadir, Subset, remove.duplicates)
CRANCheckHistory(datadir, flavors, filename, remove.duplicates)
FlavorHistory(datadir, remove.duplicates)

Arguments

checkdir

Root dir where all check files are stored.

date

The date of the checking to extract.

dir

The directory where the RDS file is stored formatted using the format "%y-%m-%d-%H-%M".

filename

Name of the RDS or CSV file to read/write.

extract.maintainer

Boolean flag for extracting information about maintainers

checks

data.table like the one returned by ListChecking.

datadir

Root directory where data is stored.

Subset

Function taking a snapshot as parameter.

remove.duplicates

If TRUE only keep one snapshot per date.

flavors

Flavors to select.

Value

ListCheckings lists available checking RDS file and returns a vector containing the directories name where the different checking RDS files are stored for each extraction. Those directories should be named using the date format "%y-%m-%d-%H-%M".

ReadChecking reads checking RDS files and returns a data.table containing the rows of file plus a column with the date of the check.

ConvertCSV converts to CSV checking results.

SnapshotIndex builds an index of CRAN snapshots from CSV converted checking results. Subset is a function used to select a subset of each snapshot to return.

CRANCheckHistory returns the history of CRAN check results for a selected flavors.

FlavorHistory returns the history of available flavors.

Author(s)

Maëlick Claes <himself@maelick.net>


ecos-umons/extractoR documentation built on June 26, 2022, 2:21 p.m.