- using R version 4.5.2 (2025-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-12) 14.3.0
GNU Fortran (Debian 14.3.0-12) 14.3.0
- running under: Debian GNU/Linux forky/sid
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘REDCapExporter’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking whether startup messages can be suppressed ... [0s/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 ... [4s/6s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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/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 ... [3s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [5s/9s] ERROR
Running ‘test-as.data.frame.R’ [1s/2s]
Running ‘test-build_r_pkg.R’ [3s/4s]
Running ‘test-export.R’ [0s/0s]
Running ‘test-format_record.R’ [1s/1s]
Running ‘test-keyring.R’ [0s/1s]
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 /home/hornik/tmp/scratch/RtmpN7H2b5/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)
/home/hornik/tmp/scratch/RtmpN7H2b5
└── rcd14465
├── DESCRIPTION
├── LICENSE
├── NAMESPACE
├── R
│ └── datasets.R
├── data
│ ├── metadata.rda
│ ├── project.rda
│ ├── record.rda
│ └── user.rda
├── inst
│ └── raw-data
│ ├── metadata.rds
│ ├── project.rds
│ ├── record.rds
│ └── user.rds
└── man
├── metadata.Rd
├── project.Rd
├── record.Rd
└── user.Rd
> 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"
[7] "rcd14465/DESCRIPTION" "rcd14465/LICENSE"
[9] "rcd14465/NAMESPACE" "rcd14465/R"
[11] "rcd14465/R/datasets.R" "rcd14465/data"
[13] "rcd14465/data/metadata.rda" "rcd14465/data/project.rda"
[15] "rcd14465/data/record.rda" "rcd14465/data/user.rda"
[17] "rcd14465/inst" "rcd14465/inst/raw-data"
[19] "rcd14465/inst/raw-data/metadata.rds" "rcd14465/inst/raw-data/project.rds"
[21] "rcd14465/inst/raw-data/record.rds" "rcd14465/inst/raw-data/user.rds"
[23] "rcd14465/man" "rcd14465/man/metadata.Rd"
[25] "rcd14465/man/project.Rd" "rcd14465/man/record.Rd"
[27] "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 ... [15s/21s] OK
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR