CRAN Package Check Results for Package SPIChanges

Last updated on 2026-11-27 19:50:36 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 7.72 245.77 253.49 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 6.13 176.16 182.29 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 93.78 ERROR
r-devel-windows-x86_64 0.3.0 10.00 294.00 304.00 OK
r-patched-linux-x86_64 0.3.0 8.57 233.96 242.53 OK
r-release-linux-x86_64 0.3.0 8.28 230.84 239.12 OK
r-release-macos-arm64 0.3.0 3.00 103.00 106.00 OK
r-release-macos-x86_64 0.3.0 6.00 432.00 438.00 OK
r-release-windows-x86_64 0.3.0 10.00 274.00 284.00 OK
r-oldrel-macos-arm64 0.3.0 2.00 97.00 99.00 OK
r-oldrel-macos-x86_64 0.3.0 6.00 377.00 383.00 OK
r-oldrel-windows-x86_64 0.3.0 13.00 358.00 371.00 OK

Check Details

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘SPIChanges-Ex.R’ failed The error most likely occurred in: > ### Name: SPIChanges > ### Title: Detect trends and quantify their effect on the probability of > ### SPI values occurring > ### Aliases: SPIChanges > > ### ** Examples > > > rainTS4 <- rainTS4 > Changes_SPI <- SPIChanges(rain.at.TS=rainTS4, only.linear = "yes") Warning in SPIChanges(rain.at.TS = rainTS4, only.linear = "yes") : Less than 30 years of rainfall records. Longer periods are highly recommended. Warning in model.extract(var.mframe, offset) : 'passing a bare name as 'component' to model.extract()' is deprecated. Use 'model.offset()' instead. See help("Deprecated") Error in fit_dglm_candidates(rain.week.nozeros = rain.week.nozeros, time.nonzero = time.nonzero, : No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. Calls: SPIChanges -> Fit.linears -> fit_dglm_candidates Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ 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(SPIChanges) > > test_check("SPIChanges") Saving _problems/test-SPIChanges-7.R Saving _problems/test-SPIChanges-36.R Saving _problems/test-SPIChanges-75.R [ FAIL 3 | WARN 3 | SKIP 0 | PASS 41 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-SPIChanges.R:7:3'): SPIChanges() works as expected in example ── Error in `fit_dglm_candidates(rain.week.nozeros = rain.week.nozeros, time.nonzero = time.nonzero, degrees = degrees)`: No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. Backtrace: ▆ 1. └─SPIChanges::SPIChanges(rain.at.TS = rainTS4, only.linear = "yes") at test-SPIChanges.R:7:3 2. └─SPIChanges:::Fit.linears(rain.week.nozeros, time.nonzero) 3. └─SPIChanges:::fit_dglm_candidates(...) ── Error ('test-SPIChanges.R:36:5'): SPIChanges() works when only.linear = no ── Error in `fit_dglm_candidates(rain.week.nozeros = rain.week.nozeros, time.nonzero = time.nonzero, degrees = degrees)`: No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. Backtrace: ▆ 1. └─SPIChanges::SPIChanges(rain.at.TS = rainTS4, only.linear = "No") at test-SPIChanges.R:36:5 2. └─SPIChanges:::Fit.Nonlinears(rain.week.nozeros, time.nonzero) 3. └─SPIChanges:::fit_dglm_candidates(...) ── Error ('test-SPIChanges.R:71:3'): SPIChanges() works as expected in example ── Error in `fit_dglm_candidates(rain.week.nozeros = rain.week.nozeros, time.nonzero = time.nonzero, degrees = degrees)`: No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. Backtrace: ▆ 1. ├─testthat::expect_warning(...) at test-SPIChanges.R:71:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::expect_warning(...) 8. │ └─testthat:::expect_condition_matching_(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. └─SPIChanges::SPIChanges(rain.at.TS = rainTS4.warning, only.linear = "yes") 14. └─SPIChanges:::Fit.linears(rain.week.nozeros, time.nonzero) 15. └─SPIChanges:::fit_dglm_candidates(...) [ FAIL 3 | WARN 3 | SKIP 0 | PASS 41 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.3.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘CaseStudies.Rmd’ using rmarkdown Quitting from CaseStudies.Rmd:47-59 [Case Study 1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `fit_dglm_candidates()`: ! No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. --- Backtrace: ▆ 1. └─SPIChanges::SPIChanges(rain.at.TS = rainTS4, only.linear = "No") 2. └─SPIChanges:::Fit.Nonlinears(rain.week.nozeros, time.nonzero) 3. └─SPIChanges:::fit_dglm_candidates(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'CaseStudies.Rmd' failed with diagnostics: No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. --- failed re-building ‘CaseStudies.Rmd’ --- re-building ‘SPIChanges.Rmd’ using rmarkdown Quitting from SPIChanges.Rmd:191-200 [example 2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `fit_dglm_candidates()`: ! No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. --- Backtrace: ▆ 1. └─SPIChanges::SPIChanges(rain.at.TS = rainTS4, only.linear = "Yes") 2. └─SPIChanges:::Fit.linears(rain.week.nozeros, time.nonzero) 3. └─SPIChanges:::fit_dglm_candidates(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'SPIChanges.Rmd' failed with diagnostics: No valid Gamma DGLM candidate could be fitted for this month/quasiWeek rainfall series. --- failed re-building ‘SPIChanges.Rmd’ SUMMARY: processing the following files failed: ‘CaseStudies.Rmd’ ‘SPIChanges.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc