Package check result: ERROR Check: examples, Result: 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 Check: tests, Result: 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