CRAN Package Check Results for Package disaggregation

Last updated on 2026-11-17 12:52:11 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.1 81.88 652.95 734.83 OK
r-devel-linux-x86_64-debian-gcc 0.4.1 87.80 440.14 527.94 OK
r-devel-linux-x86_64-fedora-clang 0.4.1 54.00 428.51 482.51 OK
r-devel-linux-x86_64-fedora-gcc 0.4.1 98.00 444.96 542.96 OK
r-devel-windows-x86_64 0.4.1 93.00 687.00 780.00 OK
r-patched-linux-x86_64 0.4.1 105.79 638.74 744.53 OK
r-release-linux-x86_64 0.4.1 108.92 624.57 733.49 OK
r-release-macos-arm64 0.4.1 20.00 185.00 205.00 OK
r-release-macos-x86_64 0.4.1 69.00 727.00 796.00 OK
r-release-windows-x86_64 0.4.1 98.00 602.00 700.00 OK
r-oldrel-macos-arm64 0.4.1 OK
r-oldrel-macos-x86_64 0.4.1 65.00 687.00 752.00 OK
r-oldrel-windows-x86_64 0.4.1 135.00 870.00 1005.00 ERROR

Check Details

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [530s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(disaggregation) > > test_check("disaggregation") Fitting model. This may be slow. Saving _problems/test-fit-model-36.R The data contains 100 polygons and 400 pixels The largest polygon contains 4 pixels and the smallest polygon contains 4 pixels There are 2 covariates Covariate summary: layer1 layer2 Min. :-3.792 Min. :-4.287 1st Qu.: 5.512 1st Qu.: 5.069 Median : 9.822 Median :10.148 Mean :10.371 Mean :10.424 3rd Qu.:15.262 3rd Qu.:15.674 Max. :24.715 Max. :27.700 They data contains 100 polygons and 400 pixels The largest polygon contains 4 pixels and the smallest polygon contains 4 pixels There are 2 covariates Likelihood function: poisson Link function: log Model parameters: Estimate Std. Error intercept 3.64694518 0.54146273 layer1 0.01286933 0.02897805 layer2 0.04853198 0.03086170 iideffect_log_tau 0.21834400 0.17898145 log_sigma -0.87430909 0.44196755 log_rho 2.27577913 0.48501362 Model convergence: 0 (relative convergence (4)) Negative log likelihood: 268.199281560172 In sample performance: RMSE MAE pearson spearman log_pearson 1 1.054325 0.8292265 0.9999986 0.999976 0.9988884 Bayesian disaggregation model result Likelihood function: poisson Link function: log Parameter values: intercept layer1 layer2 iideffect_log_tau 3.64694518 0.01286933 0.04853198 0.21834400 log_sigma log_rho -0.87430909 2.27577913 Predction from disaggregation model Components of the model: covariates field There are 100 uncertainty realisations The mean predicted values range from 26.9 to 161 The predicted IQR takes values from 53.7 to 345 Predction from disaggregation model Components of the model: covariates field There are 100 uncertainty realisations[ FAIL 1 | WARN 0 | SKIP 0 | PASS 293 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fit-model.R:36:3'): disag_model with 1 covariate behaves as expected ── Error in `stats::nlminb(obj$par, obj$fn, obj$gr, control = list(iter.max = iterations, trace = 0))`: NA/NaN gradient evaluation Backtrace: ▆ 1. └─disaggregation::disag_model(...) at test-fit-model.R:36:3 2. └─stats::nlminb(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 293 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64