Last updated on 2025-12-07 07:50:31 CET.
| Package | ERROR | OK |
|---|---|---|
| REDCapDM | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 1.0.0
Check: package dependencies
Result: WARN
Cannot process vignettes
Packages suggested but not available for checking:
'knitr', 'rmarkdown', 'kableExtra'
VignetteBuilder package required for checking but not installed: ‘knitr’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘REDCapDM-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: check_queries
> ### Title: Check for Changes Between Two Query Reports
> ### Aliases: check_queries
>
> ### ** Examples
>
> # Minimal reproducible example
> old <- data.frame(
+ Identifier = c("100-1", "100-2", "200-1"),
+ Description = c("age check", "weight check", "lab miss"),
+ Query = c("is.na(age)", "is.na(weight)", "missing lab result"),
+ Code = c("100-1-1", "100-2-1", "200-1-1"),
+ stringsAsFactors = FALSE
+ )
>
> new <- data.frame(
+ Identifier = c("100-1", "200-1", "300-1"),
+ Description = c("age check", "lab miss", "new query"),
+ Query = c("is.na(age)", "missing lab result (clarify)", "is.na(x)"),
+ stringsAsFactors = FALSE
+ )
>
> res <- check_queries(old = old, new = new, report_title = "My Query Comparison")
Error in loadNamespace(x) : there is no package called ‘knitr’
Calls: check_queries ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.0
Check: package vignettes
Result: NOTE
Package has ‘vignettes’ subdirectory but apparently no vignettes.
Perhaps the ‘VignetteBuilder’ information is missing from the
DESCRIPTION file?
Flavor: r-devel-linux-x86_64-debian-gcc