* using log directory 'd:/RCompile/CRANincoming/R-devel/CRTspat.Rcheck' * using R Under development (unstable) (2026-01-20 r89309 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 'CRTspat/DESCRIPTION' ... OK * this is package 'CRTspat' version '1.4.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [13s] NOTE Maintainer: 'Thomas Smith ' 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://bmcmedresmethodol.biomedcentral.com/articles/10.1186/1471-2288-11-102 (moved to https://link.springer.com/article/10.1186/1471-2288-11-102) From: man/CRTpower.Rd Status: 301 Message: Moved Permanently URL: https://edoc.unibas.ch/85228/ (moved to https://edoc.unibas.ch/entities/publication/f605ff77-0130-40a0-bff7-5d686fd1e2d0) From: man/simulateCRT.Rd Status: 301 Message: Moved Permanently URL: https://malariajournal.biomedcentral.com/articles/10.1186/s12936-021-03924-7 (moved to https://link.springer.com/article/10.1186/s12936-021-03924-7) From: inst/doc/Usecase5.html inst/doc/Usecase7.html README.md Status: 301 Message: Moved Permanently URL: https://trialsjournal.biomedcentral.com/articles/10.1186/s13063-021-05543-8 (moved to https://link.springer.com/article/10.1186/s13063-021-05543-8) From: README.md Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * 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 'CRTspat' 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 ... [22s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [15s] ERROR Running examples in 'CRTspat-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: compute_mesh > ### Title: Create INLA mesh for spatial analysis > ### Aliases: compute_mesh > > ### ** Examples > > { + # low resolution mesh for test dataset + library(Matrix) + example <- readdata('exampleCRT.txt') + exampleMesh=compute_mesh(example, pixel = 0.5) + } Error: object 'fm_identical_CRS' is not exported by 'namespace:fmesher' Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [23s] ERROR Running 'testthat.R' [22s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(CRTspat) > extdata <- system.file("extdata",package = 'CRTspat') > test_check("CRTspat") (Intercept) armintervention -0.5172565 -0.7004896 (Intercept) armintervention -0.9848534 -0.4920953 Saving _problems/test9-36.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test9.R:36:3'): Analysis using INLA option gives expected DIC ─────── Error: object 'fm_identical_CRS' is not exported by 'namespace:fmesher' Backtrace: ▆ 1. ├─testthat::expect_equal(get_test9(), 1335) at test9.R:36:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─CRTspat (local) get_test9() 5. └─base::loadNamespace(x) at test9.R:9:5 6. └─base::namespaceImportFrom(...) 7. └─base::importIntoEnv(impenv, impnames, ns, impvars) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 7 ] 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 ... [20s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 1 NOTE