CRAN Package Check Results for Package disaggregation

Last updated on 2026-03-04 04:52:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.1 91.06 537.56 628.62 OK
r-devel-linux-x86_64-debian-gcc 0.4.1 81.02 417.41 498.43 OK
r-devel-linux-x86_64-fedora-clang 0.4.1 99.00 957.75 1056.75 OK
r-devel-linux-x86_64-fedora-gcc 0.4.1 213.00 995.62 1208.62 OK
r-devel-macos-arm64 0.4.1 20.00 179.00 199.00 OK
r-devel-windows-x86_64 0.4.1 100.00 620.00 720.00 OK
r-patched-linux-x86_64 0.4.1 107.26 634.58 741.84 OK
r-release-linux-x86_64 0.4.1 101.28 616.16 717.44 OK
r-release-macos-arm64 0.4.1 OK
r-release-macos-x86_64 0.4.1 65.00 687.00 752.00 OK
r-release-windows-x86_64 0.4.1 101.00 595.00 696.00 OK
r-oldrel-macos-arm64 0.4.1 NOTE
r-oldrel-macos-x86_64 0.4.1 65.00 616.00 681.00 NOTE
r-oldrel-windows-x86_64 0.4.1 120.00 818.00 938.00 ERROR

Check Details

Version: 0.4.1
Check: installed package size
Result: NOTE installed size is 48.2Mb sub-directories of 1Mb or more: libs 47.6Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.4.1
Check: tests
Result: ERROR Running 'testthat.R' [508s] 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. :-5.513 Min. :-4.018 1st Qu.: 5.732 1st Qu.: 4.836 Median :10.356 Median :10.137 Mean :10.455 Mean :10.400 3rd Qu.:15.326 3rd Qu.:15.766 Max. :25.306 Max. :26.086 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 4.778761087 0.27223965 layer1 0.002172027 0.01727794 layer2 -0.017490931 0.01570533 iideffect_log_tau 0.149315777 0.14991676 log_sigma -2.429686225 0.92756179 log_rho 2.741551660 0.81888031 Model convergence: 0 (relative convergence (4)) Negative log likelihood: -375.386593275042 In sample performance: RMSE MAE pearson spearman log_pearson 1 1.063271 0.7718022 0.9999985 1 0.9954931 Bayesian disaggregation model result Likelihood function: poisson Link function: log Parameter values: intercept layer1 layer2 iideffect_log_tau 4.778761087 0.002172027 -0.017490931 0.149315777 log_sigma log_rho -2.429686225 2.741551660 Predction from disaggregation model Components of the model: covariates field There are 100 uncertainty realisations The mean predicted values range from 76.4 to 132 The predicted IQR takes values from 39.9 to 129 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