Learn R Programming

RWsearch (version 4.8.0)

checkdb: CRAN checks file (check_results.rds)

Description

checkdb_down downloads from CRAN the file check_results.rds, saves it unchanged in the designated directory, by default in the current directory, then loads it in .GlobalEnv under the name checkdb. checkdb is a data.frame of dimension 200000 x 10 (approximatavely).

checkdb_load loads the file filename, by default check_results.rds in .GlobalEnv under the name checkdb.

Usage

checkdb_down(dir = ".", repos = getOption("repos")[1])

checkdb_load(filename = "check_results.rds")

Arguments

dir

character. The directory where filename or tar.gz files are saved. Default value "." is the current directory.

repos

character. The address of your local CRAN.

filename

character. The path to file "check_results.rds" (or equivalent).

Examples

Run this code
# NOT RUN {
### In this first example, we use a small file synchronized with zcrandb.
checkdb_load(system.file("aabb", "zcheck_results.rds", package = "RWsearch"))
dim(checkdb)
head(checkdb, 15)

# }

Run the code above in your browser using DataLab