- using R version 4.5.2 (2025-10-31)
- 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 ‘ssdtools/DESCRIPTION’ ... OK
- this is package ‘ssdtools’ version ‘2.4.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 ‘ssdtools’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
- 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/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/3s] 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 ... [26s/32s] OK
- checking Rd files ... [1s/2s] 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/1s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking R/sysdata.rda ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [30s/38s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
ssd_hp_bcanz 3.828 0.043 5.621
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [193s/235s] ERROR
Running ‘testthat.R’ [192s/235s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # Copyright 2015-2023 Province of British Columbia
> # Copyright 2021 Environment and Climate Change Canada
> # Copyright 2023-2024 Australian Government Department of Climate Change,
> # Energy, the Environment and Water
> #
> # Licensed under the Apache License, Version 2.0 (the "License");
> # you may not use this file except in compliance with the License.
> # You may obtain a copy of the License at
> #
> # https://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
>
> library(testthat)
> library(ssdtools)
>
> test_check("ssdtools")
Saving _problems/test-exposure-46.R
Saving _problems/test-hc-653.R
[ FAIL 2 | WARN 0 | SKIP 214 | PASS 989 ]
══ Skipped tests (214) ═════════════════════════════════════════════════════════
• On CRAN (180): 'test-at-boundary.R:16:1', 'test-at-boundary.R:35:1',
'test-at-boundary.R:54:1', 'test-bcanz.R:28:1', 'test-bcanz.R:41:1',
'test-burrIII3.R:18:1', 'test-burrIII3.R:27:1', 'test-burrIII3.R:36:1',
'test-burrIII3.R:46:1', 'test-censor.R:43:1', 'test-censor.R:47:1',
'test-censor.R:51:1', 'test-censoring.R:1:1', 'test-censoring.R:26:1',
'test-censoring.R:50:1', 'test-ci-methods.R:1:1', 'test-coef.R:18:1',
'test-data.R:18:1', 'test-data.R:26:1', 'test-est-methods.R:1:1',
'test-estimates.R:18:1', 'test-estimates.R:26:1', 'test-exposure.R:18:1',
'test-exposure.R:26:1', 'test-exposure.R:34:1', 'test-exposure.R:50:1',
'test-fit.R:238:1', 'test-fit.R:265:1', 'test-fit.R:279:1',
'test-fit.R:290:1', 'test-fit.R:319:1', 'test-fit.R:347:1',
'test-fit.R:388:1', 'test-fit.R:394:1', 'test-fit.R:402:1',
'test-fit.R:411:1', 'test-gamma.R:17:1', 'test-glance.R:18:1',
'test-glance.R:28:1', 'test-glance.R:38:1', 'test-glance.R:79:1',
'test-gof.R:18:1', 'test-gof.R:28:1', 'test-gof.R:37:1', 'test-gof.R:46:1',
'test-gof.R:60:1', 'test-gof.R:74:1', 'test-gof.R:88:1',
'test-gompertz.R:18:1', 'test-hc-burrlioz.R:25:1', 'test-hc-burrlioz.R:33:1',
'test-hc-burrlioz.R:41:1', 'test-hc-burrlioz.R:65:1', 'test-hc-root.R:18:1',
'test-hc-root.R:30:1', 'test-hc.R:18:1', 'test-hc.R:26:1', 'test-hc.R:33:1',
'test-hc.R:42:1', 'test-hc.R:51:1', 'test-hc.R:160:1', 'test-hc.R:168:1',
'test-hc.R:176:1', 'test-hc.R:184:1', 'test-hc.R:192:1', 'test-hc.R:200:1',
'test-hc.R:210:1', 'test-hc.R:220:1', 'test-hc.R:227:1', 'test-hc.R:234:1',
'test-hc.R:246:1', 'test-hc.R:254:1', 'test-hc.R:262:1', 'test-hc.R:277:1',
'test-hc.R:285:1', 'test-hc.R:293:1', 'test-hc.R:314:1', 'test-hc.R:328:1',
'test-hc.R:343:1', 'test-hc.R:359:1', 'test-hc.R:415:1', 'test-hc.R:425:1',
'test-hc.R:461:1', 'test-hc.R:479:1', 'test-hc.R:492:1', 'test-hc.R:500:1',
'test-hc.R:512:1', 'test-hc.R:520:1', 'test-hc.R:532:1', 'test-hc.R:547:1',
'test-hc.R:574:1', 'test-hc.R:592:1', 'test-hc.R:620:1', 'test-hc.R:657:1',
'test-hc.R:679:1', 'test-hc.R:693:1', 'test-hc.R:739:1', 'test-hc.R:767:1',
'test-hc.R:849:1', 'test-hp-burrlioz.R:18:1', 'test-hp-burrlioz.R:26:1',
'test-hp-burrlioz.R:34:1', 'test-hp-burrlioz.R:58:1', 'test-hp-root.R:18:1',
'test-hp-root.R:37:1', 'test-hp-root.R:52:1', 'test-hp.R:18:1',
'test-hp.R:27:1', 'test-hp.R:52:1', 'test-hp.R:60:1', 'test-hp.R:68:1',
'test-hp.R:76:1', 'test-hp.R:84:1', 'test-hp.R:92:1', 'test-hp.R:100:1',
'test-hp.R:108:1', 'test-hp.R:118:1', 'test-hp.R:126:1', 'test-hp.R:146:1',
'test-hp.R:160:1', 'test-hp.R:172:1', 'test-hp.R:179:1', 'test-hp.R:194:1',
'test-hp.R:202:1', 'test-hp.R:239:1', 'test-hp.R:249:1', 'test-hp.R:285:1',
'test-hp.R:303:1', 'test-hp.R:318:1', 'test-hp.R:326:1', 'test-hp.R:361:1',
'test-invpareto.R:18:1', 'test-invpareto.R:27:1', 'test-invpareto.R:34:1',
'test-invpareto.R:43:1', 'test-invpareto.R:52:1', 'test-invpareto.R:64:1',
'test-invpareto.R:73:1', 'test-invpareto.R:82:1', 'test-invpareto.R:91:1',
'test-lgumbel.R:18:1', 'test-llogis-llogis.R:22:1', 'test-llogis.R:18:1',
'test-lnorm-lnorm.R:18:1', 'test-lnorm-lnorm.R:51:1',
'test-lnorm-lnorm.R:58:1', 'test-lnorm.R:18:1', 'test-multi.R:18:1',
'test-multi.R:46:1', 'test-multi.R:62:1', 'test-multi.R:81:1',
'test-multi.R:97:1', 'test-multi.R:116:1', 'test-multi.R:136:1',
'test-multi.R:158:1', 'test-operators.R:1:1', 'test-operators.R:16:1',
'test-operators.R:28:1', 'test-predict.R:18:1', 'test-predict.R:26:1',
'test-predict.R:36:1', 'test-predict.R:46:1', 'test-predict.R:58:1',
'test-print.R:18:1', 'test-print.R:23:1', 'test-print.R:28:1',
'test-print.R:37:1', 'test-print.R:46:1', 'test-print.R:55:1',
'test-schwarz-tillmans.R:18:1', 'test-summary.R:18:1', 'test-tidy.R:18:1',
'test-utils.R:36:1', 'test-weibull.R:18:1', 'test-weibull.R:27:1',
'test-weibull.R:36:1', 'test-weibull.R:44:1', 'test-weibull.R:52:1',
'test-weighted.R:44:1', 'test-weighted.R:79:1'
• On Linux (34): 'test-autoplot.R:20:3', 'test-autoplot.R:25:3',
'test-autoplot.R:33:3', 'test-autoplot.R:42:3', 'test-ggplot.R:59:3',
'test-ggplot.R:67:3', 'test-ggplot.R:73:3', 'test-ggplot.R:84:3',
'test-ggplot.R:90:3', 'test-ggplot.R:96:3', 'test-ggplot.R:102:3',
'test-ggplot.R:110:3', 'test-ggplot.R:118:3', 'test-match-moments.R:24:3',
'test-plot-cdf.R:21:3', 'test-plot-cdf.R:28:3', 'test-plot-cdf.R:32:3',
'test-plot-cdf.R:46:3', 'test-plot-cdf.R:54:3', 'test-plot-data.R:19:3',
'test-plot-data.R:23:3', 'test-plot-data.R:32:3', 'test-ssd-plot.R:19:3',
'test-ssd-plot.R:29:3', 'test-ssd-plot.R:35:3', 'test-ssd-plot.R:40:3',
'test-ssd-plot.R:50:3', 'test-ssd-plot.R:66:3', 'test-ssd-plot.R:73:3',
'test-ssd-plot.R:77:3', 'test-ssd-plot.R:81:3', 'test-ssd-plot.R:85:3',
'test-ssd-plot.R:89:3', 'test-ssd-plot.R:93:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-exposure.R:46:5'): exposure multiple distributions ─────────────
Error in `expect_snapshot_value(ssd_exposure(fits, nboot = 100), 0.0663472624824284, style = "deparse")`: `cran` must be `TRUE` or `FALSE`, not the number 0.07.
Backtrace:
▆
1. ├─withr::with_seed(...) at test-exposure.R:45:3
2. │ └─withr::with_preserve_seed(...)
3. └─testthat::expect_snapshot_value(cran = 0.0663472624824284) at test-exposure.R:46:5
4. └─testthat:::check_bool(cran)
5. └─testthat:::stop_input_type(...)
6. └─rlang::abort(message, ..., call = call, arg = arg)
── Error ('test-hc.R:653:3'): ssd_hc save_to lnorm 1 ───────────────────────────
Error in `expect_snapshot_value(hc$lcl, est, style = "deparse")`: `cran` must be `TRUE` or `FALSE`, not the number 1.29.
Backtrace:
▆
1. └─testthat::expect_snapshot_value(cran = est) at test-hc.R:653:3
2. └─testthat:::check_bool(cran)
3. └─testthat:::stop_input_type(...)
4. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 2 | WARN 0 | SKIP 214 | PASS 989 ]
Deleting unused snapshots: 'autoplot/autoplot.png',
'autoplot/autoplot_bigmark.png', 'autoplot/autoplot_new.png',
'autoplot/autoplot_rescale.png', 'autoplot/suffix.png',
'ggplot/geom_hcintersect.png', 'ggplot/geom_hcintersect_aes.png',
'ggplot/geom_ssdpoint.png', 'ggplot/geom_ssdpoint_identity.png',
'ggplot/geom_ssdsegment.png', 'ggplot/geom_ssdsegment_arrow.png',
'ggplot/geom_ssdsegment_identity.png', 'ggplot/geom_ssdsegment_nodata.png',
'ggplot/geom_xribbon.png', 'match-moments/cdf.png', 'plot-cdf/fits.png',
'plot-cdf/fits_average.png', 'plot-cdf/fits_average_na.png', …,
'ssd-plot/ribbon.png', and 'ssd-plot/suffix.png'
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [56s/77s] OK
- checking PDF version of manual ... [10s/14s] OK
- checking HTML version of manual ... [4s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR