Last updated on 2025-11-21 03:52:00 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.4.0 | 95.34 | 414.44 | 509.78 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 2.4.0 | 86.76 | 279.33 | 366.09 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 2.4.0 | 422.00 | 433.44 | 855.44 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 2.4.0 | 283.00 | 529.00 | 812.00 | ERROR | |
| r-devel-windows-x86_64 | 2.4.0 | 119.00 | 385.00 | 504.00 | OK | |
| r-patched-linux-x86_64 | 2.4.0 | 116.04 | 393.27 | 509.31 | ERROR | |
| r-release-linux-x86_64 | 2.4.0 | 115.60 | 389.82 | 505.42 | ERROR | |
| r-release-macos-arm64 | 2.4.0 | OK | ||||
| r-release-macos-x86_64 | 2.4.0 | 96.00 | 234.00 | 330.00 | OK | |
| r-release-windows-x86_64 | 2.4.0 | 109.00 | 406.00 | 515.00 | OK | |
| r-oldrel-macos-arm64 | 2.4.0 | NOTE | ||||
| r-oldrel-macos-x86_64 | 2.4.0 | 92.00 | 394.00 | 486.00 | NOTE | |
| r-oldrel-windows-x86_64 | 2.4.0 | 132.00 | 525.00 | 657.00 | NOTE |
Version: 2.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [201s/255s]
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
Flavor: r-devel-linux-x86_64-debian-clang
Version: 2.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [130s/163s]
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
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 2.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [6m/15m]
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
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 2.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [295s/377s]
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
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.4.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [193s/267s]
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
Flavor: r-patched-linux-x86_64
Version: 2.4.0
Check: tests
Result: 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
Flavor: r-release-linux-x86_64
Version: 2.4.0
Check: installed package size
Result: NOTE
installed size is 41.9Mb
sub-directories of 1Mb or more:
libs 40.2Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.