CRAN Package Check Results for Maintainer ‘Valentin Lucet <valentin.lucet at gmail.com>’

Last updated on 2025-11-08 07:50:59 CET.

Package ERROR OK
sspm 1 12

Package sspm

Current CRAN status: ERROR: 1, OK: 12

Version: 1.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [187s/317s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sspm) Loading required package: sf Linking to GEOS 3.13.0, GDAL 3.10.3, PROJ 9.6.2; sf_use_s2() is TRUE Loading required package: mgcv Loading required package: nlme This is mgcv 1.9-4. For overview type '?mgcv'. > > test_check("sspm") Attaching package: 'dplyr' The following object is masked from 'package:nlme': collapse The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union x Method 'method_not_supported' is not part of the supported methods. i See `?spm_methods()` ! SSPM assumes areas are supplied in km^2 ! SSPM assumes areas are supplied in km^2 i Casting data matrix into simple feature collection using columns: lon_dec, lat_dec ! Warning: sspm is assuming WGS 84 CRS is to be used for casting i Casting data matrix into simple feature collection using columns: lon_dec, lat_dec ! Warning: sspm is assuming WGS 84 CRS is to be used for casting i Discretizing using method tesselate_voronoi i Discretizing using method tesselate_voronoi i Discretizing using method tesselate_voronoi i Discretizing using method tesselate_voronoi i Discretizing using method tesselate_voronoi i Discretizing using method Custom i Discretizing using method triangulate_delaunay i Discretizing using method triangulate_delaunay i Discretizing using method triangulate_delaunay i Discretizing using method triangulate_delaunay x Method 'wrong_method' is not part of the supported methods. i See `?spm_methods()` i Fitting formula: weight_per_km2 ~ sfa + smooth_time(by = sfa) + smooth_space() + smooth_space_time(k = c(NA, 30)) for dataset '' i Note: response variable temp_at_bottom is NOT a biomass density variable i Fitting formula: temp_at_bottom ~ smooth_time(by = sfa) + smooth_space() + smooth_space_time(k = c(NA, 30)) for dataset '' x Method 'method_not_supported' is not part of the supported methods. i See `?spm_methods()` i See `?spm_smooth_methods()` i Joining smoothed data from all datasets [ FAIL 1 | WARN 0 | SKIP 1 | PASS 179 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-zzzintegration.R:5:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-fit.R:15:3'): Fitting works as expected ────────────────────── `intercept` (`actual`) not equal to 7.855774 (`expected`). `actual`: 7.925 `expected`: 7.856 [ FAIL 1 | WARN 0 | SKIP 1 | PASS 179 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang