- using R version 4.5.2 Patched (2026-02-13 r89426 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'REDCapExporter/DESCRIPTION' ... OK
- this is package 'REDCapExporter' version '0.3.3'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'REDCapExporter' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s] OK
- checking whether the package can be unloaded cleanly ... [0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s] OK
- checking loading without being on the library search path ... [0s] OK
- checking whether startup messages can be suppressed ... [0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [3s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [4s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [5s] ERROR
Running 'test-as.data.frame.R' [1s]
Running 'test-build_r_pkg.R' [3s]
Running 'test-export.R' [0s]
Running 'test-format_record.R' [1s]
Running 'test-keyring.R' [0s]
Running the tests in 'tests/test-build_r_pkg.R' failed.
Complete output:
> library(REDCapExporter)
> temppath <- tempdir()
> build_r_data_package(
+ x = avs_raw_core,
+ path = temppath,
+ author_roles = list(dewittp = c("cre", "aut")),
+ )
Creating source package at D:\temp\2026_03_06_11_10_10_4045\Rtmpk3X2OH\rcd14465
ℹ Updating rcd14465 documentation
First time using roxygen2. Upgrading automatically...
ℹ Setting RoxygenNote to "7.3.3"
ℹ Loading rcd14465
Writing 'NAMESPACE'
Writing 'project.Rd'
Writing 'metadata.Rd'
Writing 'user.Rd'
Writing 'record.Rd'
>
> x <- fs::dir_tree(temppath)
D:\temp\2026_03_06_11_10_10_4045\Rtmpk3X2OH
└── rcd14465
├── data
│ ├── metadata.rda
│ ├── project.rda
│ ├── record.rda
│ └── user.rda
├── DESCRIPTION
├── inst
│ └── raw-data
│ ├── metadata.rds
│ ├── project.rds
│ ├── record.rds
│ └── user.rds
├── LICENSE
├── man
│ ├── metadata.Rd
│ ├── project.Rd
│ ├── record.Rd
│ └── user.Rd
├── NAMESPACE
└── R
└── datasets.R
> x <- unname(sapply(strsplit(x, "rcd14465"), `[`, 2))
> x[is.na(x)] <- ""
> x <- sort(paste0("rcd14465", x))
>
> print(x)
[1] "rcd14465" "rcd14465"
[3] "rcd14465" "rcd14465"
[5] "rcd14465" "rcd14465/DESCRIPTION"
[7] "rcd14465/LICENSE" "rcd14465/NAMESPACE"
[9] "rcd14465/R" "rcd14465/R/datasets.R"
[11] "rcd14465/data" "rcd14465/data/metadata.rda"
[13] "rcd14465/data/project.rda" "rcd14465/data/record.rda"
[15] "rcd14465/data/user.rda" "rcd14465/inst"
[17] "rcd14465/inst/raw-data" "rcd14465/inst/raw-data/metadata.rds"
[19] "rcd14465/inst/raw-data/project.rds" "rcd14465/inst/raw-data/record.rds"
[21] "rcd14465/inst/raw-data/user.rds" "rcd14465/man"
[23] "rcd14465/man/metadata.Rd" "rcd14465/man/project.Rd"
[25] "rcd14465/man/record.Rd" "rcd14465/man/user.Rd"
>
> stopifnot(
+ identical(
+ x,
+ sort(
+ c("rcd14465", "rcd14465/DESCRIPTION", "rcd14465/LICENSE", "rcd14465/NAMESPACE",
+ "rcd14465/R", "rcd14465/R/datasets.R", "rcd14465/data", "rcd14465/data/metadata.rda",
+ "rcd14465/data/project.rda", "rcd14465/data/record.rda", "rcd14465/data/user.rda",
+ "rcd14465/inst", "rcd14465/inst/raw-data", "rcd14465/inst/raw-data/metadata.rds",
+ "rcd14465/inst/raw-data/project.rds", "rcd14465/inst/raw-data/record.rds",
+ "rcd14465/inst/raw-data/user.rds", "rcd14465/man", "rcd14465/man/metadata.Rd",
+ "rcd14465/man/project.Rd", "rcd14465/man/record.Rd", "rcd14465/man/user.Rd")
+ )
+ )
+ )
Error: identical(x, sort(c("rcd14465", "rcd14465/DESCRIPTION", "rcd14465/LICENSE", .... is not TRUE
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [13s] OK
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 1 ERROR