* using log directory ‘/home/hornik/tmp/CRAN_special_gcc-san/redatam.Rcheck’ * using R Under development (unstable) (2024-11-12 r87323) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-3) 14.2.0 GNU Fortran (Debian 14.2.0-3) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘redatam/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘redatam’ version ‘2.0.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 ‘redatam’ can be installed ... [71s/71s] OK * used C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’ * 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 ... [2s/2s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [2s/2s] OK * checking loading without being on the library search path ... [2s/2s] 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 ... [13s/13s] OK * checking Rd files ... [1s/1s] 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 line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [2s/2s] ERROR Running examples in ‘redatam-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: read_redatam > ### Title: Read REDATAM dictionary > ### Aliases: read_redatam > > ### ** Examples > > # Read a dictionary file (Galapagos 2015) > zip <- system.file("extdata", "galapagos.zip", package = "redatam") > dout <- paste(tempdir(), "galapagos", sep = "/") > unzip(zip, exdir = dout) > read_redatam(paste(dout, "cg15.dic", sep = "/")) Opening dictionary file... Error in export_redatam_to_list_(dictionary) : attempt to set an attribute on NULL Calls: read_redatam -> export_redatam_to_list_ Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [4s/4s] ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(redatam) > > test_check("redatam") Opening dictionary file... [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-galapagos.R:35:3'): reading works ────────────────────────────── Error in `export_redatam_to_list_(dictionary)`: attempt to set an attribute on NULL Backtrace: ▆ 1. └─redatam::read_redatam(dic) at test-galapagos.R:35:3 2. └─redatam:::export_redatam_to_list_(dictionary) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [2s/3s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs