Learn R Programming

checked

Batch R CMD check management

Running Checks

Although checked is broadly capable of running arbitrary sets of R CMD check tasks, reverse dependency checking is one of the most common use cases where batch R CMD checks are needed.

Running reverse dependency checks is as easy as

library(checked)
x <- run("/home/dev/praise")
results(x)
#> # Revdep Check Task Spec 
#> 
#> goodpractice package R CMD check diff 
#> notes: OK 
#> warnings: OK 
#> errors: OK 
#> 
#> testthat package R CMD check diff 
#> notes: OK 
#> warnings: OK 
#> errors: OK

Monitoring Runs

Because running many checks in parallel can be a difficult process to monitor, capable interfaces will provide a convenient output for tracking various runs, check results and package installations; keeping a log of any issues that might arise during the process.

If your editor doesn’t support the full output, you might consider launching your checks in a terminal which should be less constrained. This would also free up your preferred editor for you to use while your checks run.

library(checked)
run("/home/dev/praise")

Copy Link

Version

Install

install.packages('checked')

Monthly Downloads

549

Version

0.2.8

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Szymon Maksymiuk

Last Published

April 29th, 2025

Functions in checked (0.2.8)

checked-task-df

Check schedule data frame
new_check_design

Creating new Check Design Objects
custom_install_task_spec

Create a custom install task
checks_capture

Parse R CMD checks from a partial check output string
rev_dep_check_tasks_df

Build Tasks for Reverse Dependency Checks Generates checks schedule data.frame appropriate for running reverse dependency check for certain source package. In such case path parameter should point to the source of the development version of the package and repos should be a repository for which reverse dependencies should be identified.
cli

Internal Utilities for Command-line Output
options

checked Options
package_spec

Package specification
print.checked_results

Print checked results
reporters-internal

Reporter Internal Methods
reporters

Check Design Runner Reporters
task_graph_update_ready

Find the Next Packages Not Dependent on an Unavailable Package
task_graph_which_ready

Find task with ready state
results

Check results
results_to_file

Results to file
task_spec

Task specification
devnull

Reuse or Create A Null File Connection
throttle

Generate A Rate Limiting Throttle Function
task_graph_neighborhoods

Find Task Neighborhood
task_graph_sort

Sort Task Graph by Strong Dependency Order
revdep_check_task_spec

Create a task to run reverse dependency checks
run

Run a Series of R CMD checks
task_graph_create

Create Task Graph
options_params

Checked Options
source_check_tasks_df

Create a Task to Check a Package from Source
silent_spinner

Create a 'cli' Spinner With Suppressed Output
STATUS

Check execution status categories
check_design

R6 Checks Coordinator
check_pkgs

Check one or more package source directories
DB_COLNAMES

Available packages database dependencies columns
check_dir

Check all package source directories in current directory
check_dev_rev_deps

Run reverse dependency checks against a development version only
ansi

Various utilities for formatting ANSI output
DEP

Dependencies categories
check_functions

Check functions
DEP_STRONG

Strong dependencies categories
check_rev_deps

Check reverse dependencies
install_task_spec

Create a task to install a package and dependencies
check_task_spec

Create a task to run R CMD check
checks_simplify

Simplify Captures into Vector