* using log directory 'd:/Rcompile/CRANpkg/local/4.7/vigicaen.Rcheck' * using R Under development (unstable) (2026-07-09 r90225 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 * current time: 2026-07-10 21:41:51 UTC * checking for file 'vigicaen/DESCRIPTION' ... OK * this is package 'vigicaen' version '2.0.0' * 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 'vigicaen' can be installed ... OK * 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 ... [2s] OK * checking whether the package can be loaded with stated dependencies ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [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 ... [9s] 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 ... [1s] 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 ... [18s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [157s] ERROR Running 'testthat.R' [156s] 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(vigicaen) > > test_check("vigicaen") Saving _problems/test-vigi_routine-610.R Saving _problems/test-vigi_routine-654.R [ FAIL 2 | WARN 489 | SKIP 148 | PASS 587 ] ══ Skipped tests (148) ═════════════════════════════════════════════════════════ • On CRAN (148): 'test-add_adr.R:1:1', 'test-add_adr.R:45:1', 'test-add_adr.R:87:1', 'test-add_adr.R:156:1', 'test-add_adr.R:218:1', 'test-add_adr.R:286:1', 'test-add_adr.R:318:1', 'test-add_adr.R:375:1', 'test-add_adr.R:388:1', 'test-add_dose.R:1:1', 'test-add_drug.R:1:1', 'test-add_drug.R:73:1', 'test-add_drug.R:121:1', 'test-add_drug.R:169:1', 'test-add_drug.R:311:1', 'test-add_drug.R:445:1', 'test-add_drug.R:513:1', 'test-add_drug.R:585:1', 'test-add_drug.R:651:1', 'test-add_drug.R:721:1', 'test-add_drug.R:735:1', 'test-add_ind.R:1:1', 'test-add_ind.R:401:1', 'test-check_data_type.R:97:3', 'test-check_data_type.R:97:3', 'test-check_data_type.R:97:3', 'test-check_data_type.R:97:3', 'test-check_data_type.R:103:3', 'test-check_data_type.R:103:3', 'test-check_data_type.R:103:3', 'test-check_data_type.R:103:3', 'test-check_data_type.R:109:3', 'test-check_data_type.R:109:3', 'test-check_data_type.R:109:3', 'test-check_data_type.R:109:3', 'test-check_data_type.R:115:3', 'test-check_data_type.R:115:3', 'test-check_data_type.R:115:3', 'test-check_data_type.R:115:3', 'test-check_data_type.R:1:1', 'test-check_data_type.R:164:3', 'test-check_data_type.R:164:3', 'test-check_data_type.R:164:3', 'test-check_data_type.R:164:3', 'test-check_data_type.R:122:1', 'test-check_data_type.R:171:1', 'test-check_dm.R:1:1', 'test-check_dm.R:34:1', 'test-check_id_list.R:39:3', 'test-check_id_list.R:39:3', 'test-check_id_list.R:39:3', 'test-check_id_list.R:39:3', 'test-check_id_list.R:1:1', 'test-check_id_list.R:117:3', 'test-check_id_list.R:117:3', 'test-check_id_list.R:117:3', 'test-check_id_list.R:117:3', 'test-check_id_list.R:123:3', 'test-check_id_list.R:123:3', 'test-check_id_list.R:123:3', 'test-check_id_list.R:123:3', 'test-check_id_list.R:46:1', 'test-compute_dispro.R:171:1', 'test-compute_dispro.R:463:1', 'test-compute_interaction.R:47:1', 'test-compute_interaction.R:70:1', 'test-compute_or_mod.R:1:1', 'test-compute_or_mod.R:43:1', 'test-desc_cont.R:309:1', 'test-desc_cont.R:370:1', 'test-desc_cont.R:428:1', 'test-desc_facvar.R:265:1', 'test-desc_outcome.R:1:1', 'test-desc_rch.R:1:1', 'test-desc_rch.R:46:1', 'test-desc_rch.R:141:1', 'test-desc_tto.R:1:1', 'test-desc_tto.R:23:1', 'test-desc_tto.R:69:1', 'test-desc_tto.R:93:1', 'test-extract_tto.R:1:1', 'test-extract_tto.R:30:1', 'test-extract_tto.R:107:1', 'test-extract_tto.R:157:1', 'test-extract_tto.R:193:1', 'test-get_drecno.R:1:1', 'test-get_drecno.R:76:1', 'test-get_drecno.R:94:1', 'test-get_drecno.R:112:1', 'test-get_drecno.R:250:1', 'test-get_drecno.R:288:1', 'test-get_drecno.R:379:1', 'test-get_drecno.R:413:1', 'test-get_drecno.R:711:1', 'test-get_drecno.R:711:1', 'test-get_drecno.R:711:1', 'test-get_drecno.R:711:1', 'test-get_llt_smq.R:111:1', 'test-get_llt_smq.R:168:1', 'test-get_llt_soc.R:33:1', 'test-get_llt_soc.R:49:1', 'test-query_data_type.R:30:3', 'test-query_data_type.R:30:3', 'test-query_data_type.R:30:3', 'test-query_data_type.R:30:3', 'test-query_data_type.R:1:1', 'test-screen_drug.R:87:3', 'test-screen_drug.R:87:3', 'test-screen_drug.R:87:3', 'test-screen_drug.R:87:3', 'test-screen_drug.R:53:1', 'test-tb_meddra.R:1:1', 'test-tb_meddra.R:87:3', 'test-tb_meddra.R:87:3', 'test-tb_meddra.R:87:3', 'test-tb_meddra.R:87:3', 'test-tb_subset.R:1:1', 'test-tb_subset.R:235:1', 'test-tb_subset.R:371:1', 'test-tb_subset.R:481:1', 'test-tb_subset.R:512:1', 'test-tb_subset.R:512:1', 'test-tb_subset.R:512:1', 'test-tb_subset.R:512:1', 'test-tb_vigibase.R:12:1', 'test-tb_vigibase.R:268:1', 'test-tb_vigibase.R:324:1', 'test-tb_vigibase.R:396:1', 'test-tb_vigibase.R:659:1', 'test-tb_who.R:1:1', 'test-tb_who.R:61:1', 'test-texter.R:1:1', 'test-vigi_routine.R:22:1', 'test-vigi_routine.R:150:1', 'test-vigi_routine.R:294:1', 'test-vigi_routine.R:294:1', 'test-vigi_routine.R:294:1', 'test-vigi_routine.R:294:1', 'test-vigi_routine.R:301:1', 'test-vigi_routine.R:342:1', 'test-vigi_routine.R:370:1', 'test-vigi_routine.R:413:1', 'test-vigi_routine.R:573:1', 'test-vigi_routine.R:704:1', 'test-vigi_routine.R:732:1', 'test-vigi_routine.R:792:1', 'test-vigi_routine.R:833:1', 'test-vigi_routine.R:872:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-vigi_routine.R:609:3'): error if no adr or drug cases found ── Expected `err[c("arg", "message", "class", "arg_type", "dataset")]` to equal `err_arrow[c("arg", "message", "class", "arg_type", "dataset")]`. Differences: `names(actual)`: "arg" "message" NA "arg_type" "dataset" `names(expected)`: NA "message" NA NA NA `actual[[1]]` is a character vector ('d1') `expected[[1]]` is NULL actual[[2]] vs expected[[2]] - "Drug code(s) in d1 didn't match any cases in `demo_data`." + "Replacing special names '.Names' is deprecated; use 'names' instead." `actual[[4]]` is a character vector ('drug') `expected[[4]]` is NULL `actual[[5]]` is a character vector ('demo_data') `expected[[5]]` is NULL ── Failure ('test-vigi_routine.R:653:3'): error if no adr or drug cases found ── Expected `err2[c("arg", "message", "class", "arg_type", "dataset")]` to equal `err2_arrow[c("arg", "message", "class", "arg_type", "dataset")]`. Differences: `names(actual)`: "arg" "message" NA "arg_type" "dataset" `names(expected)`: NA "message" NA NA NA `actual[[1]]` is a character vector ('a1') `expected[[1]]` is NULL actual[[2]] vs expected[[2]] - "Adr code(s) in a1 didn't match any cases in `demo_data`." + "Replacing special names '.Names' is deprecated; use 'names' instead." `actual[[4]]` is a character vector ('adr') `expected[[4]]` is NULL `actual[[5]]` is a character vector ('demo_data') `expected[[5]]` is NULL [ FAIL 2 | WARN 489 | SKIP 148 | PASS 587 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [44s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 1 ERROR