CRAN Package Check Results for Maintainer ‘Thomas Smith <Thomas-a.Smith at unibas.ch>’

Last updated on 2025-06-18 15:50:53 CEST.

Package ERROR NOTE OK
CRTspat 3 2 8

Package CRTspat

Current CRAN status: ERROR: 3, NOTE: 2, OK: 8

Version: 1.3.2
Check: examples
Result: ERROR Running examples in 'CRTspat-Ex.R' failed The error most likely occurred in: > ### Name: compute_mesh > ### Title: Create INLA mesh for spatial analysis > ### Aliases: compute_mesh > > ### ** Examples > > { + # low resolution mesh for test dataset + library(Matrix) + library(sp) + example <- readdata('exampleCRT.txt') + exampleMesh=compute_mesh(example, pixel = 0.5) + } Error: object 'fm_identical_CRS' is not exported by 'namespace:fmesher' Execution halted Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 1.3.2
Check: tests
Result: ERROR Running 'testthat.R' [29s] 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 [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test9.R:35: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(), 1303) at test9.R:35:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─CRTspat (local) get_test9() 5. │ └─CRTspat::CRTanalysis(...) at test9.R:26:5 6. │ └─CRTspat:::INLAanalysis(analysis, requireMesh = requireMesh, inla_mesh = inla_mesh) 7. └─base::loadNamespace(x) 8. └─base::namespaceImportFrom(...) 9. └─base::importIntoEnv(impenv, impnames, ns, impvars) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 1.3.2
Check: tests
Result: ERROR Running 'testthat.R' [27s] 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 [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test9.R:35: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(), 1303) at test9.R:35:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─CRTspat (local) get_test9() 5. │ └─CRTspat::CRTanalysis(...) at test9.R:26:5 6. │ └─CRTspat:::INLAanalysis(analysis, requireMesh = requireMesh, inla_mesh = inla_mesh) 7. └─base::loadNamespace(x) 8. └─base::namespaceImportFrom(...) 9. └─base::importIntoEnv(impenv, impnames, ns, impvars) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.3.2
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘INLA’ Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.3.2
Check: tests
Result: ERROR Running 'testthat.R' [31s] 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 [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test9.R:35: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(), 1303) at test9.R:35:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─CRTspat (local) get_test9() 5. │ └─CRTspat::CRTanalysis(...) at test9.R:26:5 6. │ └─CRTspat:::INLAanalysis(analysis, requireMesh = requireMesh, inla_mesh = inla_mesh) 7. └─base::loadNamespace(x) 8. └─base::namespaceImportFrom(...) 9. └─base::importIntoEnv(impenv, impnames, ns, impvars) [ FAIL 1 | WARN 1 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted Flavor: r-oldrel-windows-x86_64