* using log directory 'd:/RCompile/CRANincoming/R-devel/bdlnm.Rcheck' * using R Under development (unstable) (2026-03-05 r89546 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-03-06 13:30:20 UTC * checking for file 'bdlnm/DESCRIPTION' ... OK * this is package 'bdlnm' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Pau Satorra ' New submission Possibly misspelled words in DESCRIPTION: DLNM (2:54) Suggests or Enhances not in mainstream repositories: INLA Availability using Additional_repositories specification: INLA yes https://inla.r-inla-download.org/R/stable Found the following (possibly) invalid URLs: URL: https://github.com/pasahe/bdlnm From: DESCRIPTION Status: 404 Message: Not Found URL: https://github.com/pasahe/bdlnm/actions/workflows/R-CMD-check.yaml From: README.md Status: 404 Message: Not Found URL: https://github.com/pasahe/bdlnm/issues From: DESCRIPTION Status: 404 Message: Not Found * 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 'bdlnm' 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 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 ... 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 ... ERROR Running examples in 'bdlnm-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: attributable > ### Title: Calculate attributable number and fractions from a Bayesian > ### distributed-lag model (B-DLNM). > ### Aliases: attributable > > ### ** Examples > > > # Filter the dataset to reduce computational time: > > # Exposure-response and lag-response spline parameters > dlnm_var <- list( + var_prc = c(10, 75, 90), + var_fun = "ns", + lag_fun = "ns", + max_lag = 21, + lagnk = 3 + ) > > # Cross-basis parameters > argvar <- list(fun = dlnm_var$var_fun, + knots = stats::quantile(london$tmean, + dlnm_var$var_prc/100, na.rm = TRUE), + Bound = range(london$tmean, na.rm = TRUE)) > > arglag <- list(fun = dlnm_var$lag_fun, + knots = dlnm::logknots(dlnm_var$max_lag, nk = dlnm_var$lagnk)) > > # Create crossbasis > cb <- dlnm::crossbasis(london$tmean, lag = dlnm_var$max_lag, argvar, arglag) > > # Seasonality of mortality time series > seas <- splines::ns(london$date, df = round(8 * length(london$date) / 365.25)) > > # Prediction values (equidistant points) > temp <- round(seq(min(london$tmean), max(london$tmean), by = 0.1), 1) > > # Model > > mod <- bdlnm(mort_75plus ~ cb + factor(dow) + seas, + data = london, + family = "poisson", + sample.arg = list(seed = 432)) Error in `bdlnm()`: ! Package INLA is required to fit the model but is not installed. ℹ Install from the R-INLA repository (https://www.r-inla.org/) and restart R. Backtrace: ▆ 1. └─bdlnm::bdlnm(...) 2. └─cli::cli_abort(...) 3. └─rlang::abort(...) Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' 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(bdlnm) > > test_check("bdlnm") Error in `source_dir()`: ! Failed to evaluate './helper.R'. Caused by error in `bdlnm()`: ! Package INLA is required to fit the model but is not installed. ℹ Install from the R-INLA repository (https://www.r-inla.org/) and restart R. Backtrace: ▆ 1. └─testthat::test_check("bdlnm") 2. └─testthat::test_dir(...) 3. └─testthat:::test_files(...) 4. └─testthat:::test_files_serial(...) 5. └─testthat:::test_files_setup_state(...) 6. └─testthat::source_test_helpers(".", env) 7. └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. └─base::lapply(...) 9. └─testthat (local) FUN(X[[i]], ...) 10. └─testthat::source_file(...) 11. ├─base::withCallingHandlers(...) 12. └─base::eval(exprs, env) 13. └─base::eval(exprs, env) 14. └─bdlnm::bdlnm(...) at ./helper.R:42:1 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building 'bdlnm.Rmd' using rmarkdown Quitting from bdlnm.Rmd:19-25 [setup] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: ! package or namespace load failed for 'INLA': object 'fm_identical_CRS' is not exported by 'namespace:fmesher' --- Backtrace: ▆ 1. └─base::library(INLA) 2. └─base::tryCatch(...) 3. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 4. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 5. └─value[[3L]](cond) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'bdlnm.Rmd' failed with diagnostics: package or namespace load failed for 'INLA': object 'fm_identical_CRS' is not exported by 'namespace:fmesher' --- failed re-building 'bdlnm.Rmd' SUMMARY: processing the following file failed: 'bdlnm.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [28s] OK * checking HTML version of manual ... OK * DONE Status: 3 ERRORs, 1 NOTE