Type: Package
Title: Watch the CRAN Incoming Directories
Version: 0.0.2
Date: 2024-03-20
Description: Directory reads and summaries are provided for one or more of the subdirectories of the https://cran.r-project.org/incoming/ directory, and a compact summary object is returned. The package name is a contraption of 'CRAN Incoming Watcher'.
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Imports: curl, XML, data.table (≥ 1.5.0)
URL: https://github.com/eddelbuettel/ciw
BugReports: https://github.com/eddelbuettel/ciw/issues
Encoding: UTF-8
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2024-03-20 11:52:03 UTC; edd
Author: Dirk Eddelbuettel ORCID iD [aut, cre]
Maintainer: Dirk Eddelbuettel <edd@debian.org>
Repository: CRAN
Date/Publication: 2024-03-20 12:10:02 UTC

Watch the CRAN Incoming Directories

Description

Directory reads and summaries are provided for one or more of the subdirectories of the <https://cran.r-project.org/incoming/> directory, and a compact summary object is returned. The package name is a contraption of 'CRAN Incoming Watcher'.

Package Content

Index of help topics:

ciw-package             Watch the CRAN Incoming Directories
incoming                Report on the incoming queue at CRAN

Maintainer

Dirk Eddelbuettel <edd@debian.org>

Author(s)

Dirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>)


Report on the incoming queue at CRAN

Description

Summarizes the current state of the incoming queue at CRAN. A shorter alias is provided by function ciw.

Usage

incoming(folder = c("auto", known_folders), check = TRUE, sort = TRUE,
  ping = TRUE)

ciw(folder = c("auto", known_folders), check = TRUE, sort = TRUE,
  ping = TRUE)

known_folders

Arguments

folder

A character variable correponding to one (or more) of the existing directories at the incoming directory at CRAN, or a meta value. The default value is ‘auto’ to designate the combination of ‘pending’, ‘recheck’, ‘inspect’ and ‘pretest’. See also below for known_folders.

check

A logical variable with a default of ‘TRUE’ indicating that the value of ‘folder’ should be check against a list of known values. Using ‘FALSE’ allows new values, or different combinations not supported by default.

sort

A logical variable with a default of ‘TRUE’ indicating that the overall result be sorted by column ‘Age’.

ping

A logical variable with a default of ‘TRUE’ indicating that network connectivity should be checked first.

Format

known_folders is an unexported global state variable with a simple vector of the (currently) known directory names “archive”, “inspect”, “newbies”, “pending”, “pretest”, “publish”, “recheck”, “waiting”, “BA”, “KH”, “KL”, “UL”, and “VW”.

Value

A ‘data.table’ object with first column ‘folder’ as well as columns for package name, upload time and size.

Examples

incoming()