- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘SSN2/DESCRIPTION’ ... OK
- this is package ‘SSN2’ version ‘0.5.0’
- 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 ‘SSN2’ can be installed ... [20s/45s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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/6s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/5s] OK
- checking whether the package can be unloaded cleanly ... [2s/5s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/6s] OK
- checking loading without being on the library search path ... [2s/6s] OK
- checking whether startup messages can be suppressed ... [2s/4s] 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 ... [31s/45s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... 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 sizes of PDF files under ‘inst/doc’ ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [74s/103s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [180s/321s] ERROR
Running ‘testthat.R’ [180s/321s]
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(SSN2)
>
> test_check("SSN2")
Both family and dispersion_initial provided. dispersion_initial overriding family.
netgeom exists in predpts and overwrite == FALSE. No changes made to netgeom
Both family and dispersion_initial provided. dispersion_initial overriding family.
Saving _problems/test-ssn_glm-254.R
Saving _problems/test-ssn_glm-309.R
[ FAIL 2 | WARN 0 | SKIP 44 | PASS 721 ]
══ Skipped tests (44) ══════════════════════════════════════════════════════════
• On CRAN (44): 'test-extras-Torgegram.R:1:1',
'test-extras-alignment-validation.R:1:1', 'test-extras-block-controls.R:1:1',
'test-extras-coincident-ordering.R:1:1',
'test-extras-conditional-context.R:1:1',
'test-extras-conditional-covariance.R:1:1',
'test-extras-conditional-covparams.R:1:1',
'test-extras-conditional-exact.R:1:1',
'test-extras-conditional-glm-joint.R:1:1',
'test-extras-conditional-iid.R:1:1',
'test-extras-conditional-size-warning.R:1:1',
'test-extras-conditional-stream-wave.R:1:1',
'test-extras-conditional-validation.R:1:1', 'test-extras-conditional.R:1:1',
'test-extras-covariance-kernels.R:1:1', 'test-extras-cross-validation.R:1:1',
'test-extras-data-validation.R:1:1', 'test-extras-decorrelation-grid.R:1:1',
'test-extras-decorrelation-order-cache.R:1:1',
'test-extras-decorrelation-parallel.R:1:1',
'test-extras-decorrelation.R:1:1', 'test-extras-diagnostics.R:1:1',
'test-extras-distance-backends.R:1:1', 'test-extras-estimation.R:1:1',
'test-extras-fitted-randcov.R:1:1', 'test-extras-inference.R:1:1',
'test-extras-initialization.R:1:1', 'test-extras-laplace-correction.R:1:1',
'test-extras-laplace.R:1:1', 'test-extras-local.R:1:1',
'test-extras-prediction-defaults.R:1:1', 'test-extras-prediction.R:1:1',
'test-extras-random-effects.R:1:1', 'test-extras-random-forest.R:1:1',
'test-extras-range-constrain.R:1:1', 'test-extras-simulation-defaults.R:1:1',
'test-extras-simulation-iid.R:1:1', 'test-extras-simulation-split.R:1:1',
'test-extras-simulation.R:1:1',
'test-extras-ssn-lm-nugget-optimization.R:1:1',
'test-extras-stream-wave-kernels.R:1:1',
'test-extras-stream-wave-learning.R:1:1',
'test-extras-stream-wave-workflows.R:1:1',
'test-extras-worker-libraries.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-ssn_glm.R:254:3'): generics work ssn_glm point data ──────────
Expected `pseudoR2(ssn_mod1)` to equal 0.0211.
Differences:
`actual`: 0.096
`expected`: 0.021
── Failure ('test-ssn_glm.R:309:3'): generics work ssn_glm point data ──────────
Expected `varcomp(ssn_mod1)$proportion` to equal `c(0.0211, 0.0453, 0.0654, 0.8678, 0.000443)`.
Differences:
`actual`: 0.096 0.042 0.060 0.801 0.000
`expected`: 0.021 0.045 0.065 0.868 0.000
[ FAIL 2 | WARN 0 | SKIP 44 | PASS 721 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [229s/348s] OK
- checking PDF version of manual ... [10s/14s] OK
- DONE
Status: 1 ERROR