* using log directory 'd:/Rcompile/CRANpkg/local/4.5/admiralvaccine.Rcheck' * using R version 4.5.2 (2025-10-31 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 'admiralvaccine/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'admiralvaccine' version '0.5.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 'admiralvaccine' 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 ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] 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 ... [4s] 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 ... [5s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [6s] ERROR Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(admiralvaccine) # nolint > testthat::test_check("admiralvaccine") Joining with `by = join_by(USUBJID, FAOBJ, FATESTCD, FATPTREF, AVAL, FATPT, PARAMCD)` Joining with `by = join_by(USUBJID, FAOBJ, FATESTCD, FATPTREF, AVAL, FATPT, PARAMCD, ANL01FL)` Joining with `by = join_by(USUBJID, FAOBJ, FATESTCD, FATPTREF, AVAL, FATPT, PARAMCD)` Joining with `by = join_by(USUBJID, FAOBJ, FATESTCD, FATPTREF, AVAL, FATPT, PARAMCD)` Saving _problems/test-derive_vars_merged_vaccine-47.R Saving _problems/test-derive_vars_params-54.R Saving _problems/test-derive_vars_params-129.R Saving _problems/test-derive_vars_params-196.R Saving _problems/test-derive_vars_vaxdt-53.R [1] "VAX01DT" [1] "VAX02DT" [1] "VAX03DT" Saving _problems/test-derive_vars_vaxdt-110.R [ FAIL 6 | WARN 1 | SKIP 0 | PASS 29 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-derive_vars_merged_vaccine.R:41:3'): derive_vars_merged_vaccine Test 1: Merging EXTRT variable from EX to FACE ── Error in `left_join(dataset, add_data, by = vars2chr(by_vars), relationship = relationship)`: could not find function "left_join" Backtrace: ▆ 1. └─admiralvaccine::derive_vars_merged_vaccine(...) at test-derive_vars_merged_vaccine.R:41:3 2. └─admiral::derive_vars_merged(...) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─base (local) doTryCatch(return(expr), name, parentenv, handler) ── Error ('test-derive_vars_params.R:50:3'): derive_vars_params Test 1: Check if the variables in the lookup dataset getting merged properly ── Error in `left_join(dataset, add_data, by = vars2chr(by_vars), relationship = relationship)`: could not find function "left_join" Backtrace: ▆ 1. ├─admiralvaccine::derive_vars_params(...) at test-derive_vars_params.R:50:3 2. │ ├─... %>% convert_blanks_to_na() 3. │ └─admiral::derive_vars_merged(...) 4. │ └─base::tryCatch(...) 5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. └─admiral::convert_blanks_to_na(.) ── Error ('test-derive_vars_params.R:125:3'): derive_vars_params Test 2: Checking whether PARAM getting concatenated with only the existed variables ── Error in `left_join(dataset, add_data, by = vars2chr(by_vars), relationship = relationship)`: could not find function "left_join" Backtrace: ▆ 1. ├─admiralvaccine::derive_vars_params(...) at test-derive_vars_params.R:125:3 2. │ ├─... %>% convert_blanks_to_na() 3. │ └─admiral::derive_vars_merged(...) 4. │ └─base::tryCatch(...) 5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. └─admiral::convert_blanks_to_na(.) ── Error ('test-derive_vars_params.R:192:3'): derive_vars_params Test 3: Checking whether PARAM, PARCAT1 and PARCAT2 getting concatenated with only the existed variables ── Error in `left_join(dataset, add_data, by = vars2chr(by_vars), relationship = relationship)`: could not find function "left_join" Backtrace: ▆ 1. ├─admiralvaccine::derive_vars_params(...) at test-derive_vars_params.R:192:3 2. │ ├─... %>% convert_blanks_to_na() 3. │ └─admiral::derive_vars_merged(...) 4. │ └─base::tryCatch(...) 5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 8. └─admiral::convert_blanks_to_na(.) ── Error ('test-derive_vars_vaxdt.R:48:3'): derive_vars_vaxdt Test 1: Getting Vaccination dates from EX and check if output is merged with ADSL ── Error in `left_join(dataset, add_data, by = vars2chr(by_vars), relationship = relationship)`: could not find function "left_join" Backtrace: ▆ 1. └─admiralvaccine::derive_vars_vaxdt(...) at test-derive_vars_vaxdt.R:48:3 2. └─admiral::derive_vars_merged(...) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─base (local) doTryCatch(return(expr), name, parentenv, handler) ── Error ('test-derive_vars_vaxdt.R:105:3'): derive_vars_vaxdt Test 2: Check if Vaccination date variables are getting created when multiple vaccination given on same visit ── Error in `left_join(dataset, add_data, by = vars2chr(by_vars), relationship = relationship)`: could not find function "left_join" Backtrace: ▆ 1. └─admiralvaccine::derive_vars_vaxdt(...) at test-derive_vars_vaxdt.R:105:3 2. └─admiral::derive_vars_merged(...) 3. └─base::tryCatch(...) 4. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 5. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6. └─base (local) doTryCatch(return(expr), name, parentenv, handler) [ FAIL 6 | WARN 1 | SKIP 0 | PASS 29 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [27s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR