Skip to contents

checkrpkgs provides information on installing and configuring R, RStudio, and Rtools; obtaining information about to-be-installed and already-installed packages; and how to get the source code of R-functions.

Folder structure

├── .github
│   └── workflows: workflows to run tests with GitHub Actions
├── R: functions
├── inst
│   └── tinytest: tests
├── man: help-files
└── tests: setup to use 'tinytest' for testing

Installation

You can visit the checkrpkgs website to explore the package. To use checkrpkgs, you have to install it from GitHub using the following code in R (you need to run R as administrator):

if(!requireNamespace("remotes", quietly = TRUE)) {
  install.packages(pkgs = "remotes", quiet = FALSE)
}
remotes::install_github(repo = "JesseAlderliesten/checkrpkgs",
                        dependencies = NA, upgrade = FALSE, force = FALSE,
                        quiet = FALSE, build_vignettes = TRUE, lib = NULL,
                        verbose = getOption("verbose"))

Example

The main content of checkrpkgs consists of vignettes:

In addition, checkrpkgs contains the functions check_pkgs() and get_details_pkgs():

library(checkrpkgs)
check_pkgs(pkgs = "abcdef1") # package is absent
#> Warning in check_pkgs(pkgs = "abcdef1"): non-installed packages: 'abcdef1'
#> $absent
#> [1] "abcdef1"
#> 
#> $nonfunc
#> character(0)

get_details_pkgs(pkgs = c("utils", "checkrpkgs"))
#>            Package      Version MD5sum
#> checkrpkgs "checkrpkgs" "0.7.2" NA    
#> utils      "utils"      "4.6.0" NA    
#>            Built                                                          
#> checkrpkgs "R 4.6.0; ; 2026-05-11 12:12:19 UTC; windows"                  
#> utils      "R 4.6.0; x86_64-w64-mingw32; 2026-04-24 08:04:59 UTC; windows"
#>            Priority LibPath                                            
#> checkrpkgs NA       "C:/Users/Eigenaar/AppData/Local/R/win-library/4.6"
#> utils      "base"   "C:/Program Files/R/R-4.6.0/library"               
#>            Repository Additional_repositories
#> checkrpkgs "Github"   NA                     
#> utils      NA         NA                     
#>            URL                                                                                                
#> checkrpkgs "https://github.com/JesseAlderliesten/checkrpkgs,\nhttps://jessealderliesten.github.io/checkrpkgs/"
#> utils      NA                                                                                                 
#>            GithubRepo   GithubUsername      SystemRequirements NeedsCompilation
#> checkrpkgs "checkrpkgs" "JesseAlderliesten" NA                 "no"            
#> utils      NA           NA                  NA                 "yes"           
#>            OS_type Depends Imports                                             
#> checkrpkgs NA      NA      "checkinput (>= 0.6.0), progutils (>= 0.0.9), utils"
#> utils      NA      NA      NA                                                  
#>            LinkingTo
#> checkrpkgs NA       
#> utils      NA       
#>            Suggests                                                                                                                                                    
#> checkrpkgs "BiocManager (>= 1.30.5), conflicted, ctv (>= 0.4-0), knitr,\nMatrix, methods, pkgbuild, remotes (>= 2.0.0), rmarkdown,\nstrict, tinytest (>= 1.4.1), tools"
#> utils      "methods, xml2, commonmark, knitr, jsonlite"