- using R version 4.5.2 Patched (2025-11-09 r88993)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘sspm/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘sspm’ version ‘1.0.3’
- package encoding: UTF-8
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘sspm’ can be installed ... OK
See the install log for details.
- 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 ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/4s] OK
- checking loading without being on the library search path ... [3s/4s] 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 ... [20s/26s] OK
- checking Rd files ... [1s/1s] 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 ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [15s/20s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [111s/135s] ERROR
Running ‘testthat.R’ [111s/135s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(sspm)
Loading required package: sf
Linking to GEOS 3.14.1, GDAL 3.11.4, PROJ 9.7.0; 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [166s/210s] OK
- checking PDF version of manual ... [8s/11s] OK
- checking HTML version of manual ... [2s/4s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR