* using log directory 'd:/RCompile/CRANincoming/R-devel/healthiar.Rcheck' * using R Under development (unstable) (2025-09-18 r88857 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'healthiar/DESCRIPTION' ... OK * this is package 'healthiar' version '0.1.3' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [12s] NOTE Maintainer: 'Alberto Castro ' New submission Possibly misspelled words in DESCRIPTION: Healthiar (2:18) healthiar (21:28) Authors@R field should be a call to person(), or combine such calls. Reading CITATION file fails with $ operator is invalid for atomic vectors when package is not installed. Size of tarball: 23913641 bytes * 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 'healthiar' can be installed ... OK * checking installed package size ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... NOTE There are ::: calls to the package's namespace in its code. A package almost never needs to use ::: for its own objects: 'add_info' 'attribute_master' 'check_if_args_identical' 'collapse_df_by_group' 'compile_input' 'find_joining_columns' 'find_multi_value_col_names' 'get_discount_factor' 'get_impact' 'get_impact_with_lifetable' 'get_inflation_factor' 'get_input_args' 'get_output' 'get_pop_fraction' 'get_ref_prop_pop' 'get_risk_and_pop_fraction' 'validate_input_attribute' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... 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 ... 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 ... [10s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [119s] ERROR Running 'testthat.R' [119s] 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(healthiar) ***** DISCLAIMER ***** The developers are not liable for any calculation errors or inaccuracies resulting from the use of the R package healthiar. It is work in progress and the functions of this R package can change at any moment. ***** HAPPY CODING ***** Attaching package: 'healthiar' The following object is masked from 'package:testthat': compare > > test_check("healthiar") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 247 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-attribute_health.R:1285:3'): results correct prevalence-based YLD |pathway_ar|erf_formula|exp_dist|iteration_FALSE| ── Error in `eval(code, test_env)`: object 'niph_noise_ha_excel' not found Backtrace: ▆ 1. └─dplyr::filter(niph_noise_ha_excel, !is.na(niph_noise_ha_excel$exposure_mean)) at test-attribute_health.R:1285:3 ── Error ('test-attribute_health.R:1314:3'): results correct prevalence-based YLD |pathway_ar|erf_formula|exp_dist|iteration_FALSE| ── Error in `eval(code, test_env)`: object 'niph_noise_ha_excel' not found Backtrace: ▆ 1. └─dplyr::filter(niph_noise_ha_excel, !is.na(niph_noise_ha_excel$exposure_mean)) at test-attribute_health.R:1314:3 [ FAIL 2 | WARN 0 | SKIP 0 | PASS 247 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [15s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 2 NOTEs