Last updated on 2026-06-04 18:50:16 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.3.2 | 2.09 | 54.97 | 57.06 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.3.2 | 1.72 | 30.16 | 31.88 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.3.2 | 94.06 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.3.2 | 102.42 | OK | |||
| r-devel-windows-x86_64 | 0.3.2 | 4.00 | 79.00 | 83.00 | OK | |
| r-patched-linux-x86_64 | 0.3.2 | 1.71 | 53.52 | 55.23 | OK | |
| r-release-linux-x86_64 | 0.3.2 | 2.06 | 53.69 | 55.75 | OK | |
| r-release-macos-arm64 | 0.3.2 | 1.00 | 21.00 | 22.00 | OK | |
| r-release-macos-x86_64 | 0.3.2 | 2.00 | 88.00 | 90.00 | OK | |
| r-release-windows-x86_64 | 0.3.2 | 4.00 | 77.00 | 81.00 | OK | |
| r-oldrel-macos-arm64 | 0.3.2 | OK | ||||
| r-oldrel-macos-x86_64 | 0.3.2 | 2.00 | 70.00 | 72.00 | OK | |
| r-oldrel-windows-x86_64 | 0.3.2 | 6.00 | 90.00 | 96.00 | OK |
Version: 0.3.2
Check: examples
Result: ERROR
Running examples in ‘remap-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: remap
> ### Title: Build separate models for mapping multiple regions.
> ### Aliases: remap
>
> ### ** Examples
>
> library(remap)
> data(utsnow)
> data(utws)
>
> # We will keep these examples simple by only modeling non-zero values of
> # snow water equivalent (WESD)
>
> utsnz <- utsnow[utsnow$WESD > 0, ]
>
> # Build a remap model with lm that has formula WESD ~ ELEVATION
> # The buffer to collect data around each region is 30km
> # The minimum number of observations per region is 10
> remap_model <- remap(
+ data = utsnz,
+ regions = utws,
+ region_id = HUC2,
+ model_function = lm,
+ formula = log(WESD) ~ ELEVATION,
+ buffer = 20,
+ min_n = 10,
+ progress = TRUE
+ )
Finding regional distances...
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
Building models...
|
| | 0%
|
|================== | 25%
|
|=================================== | 50%
|
|==================================================== | 75%
|
|======================================================================| 100%
>
> # Resubstitution predictions
> remap_preds <- exp(predict(remap_model, utsnz, smooth = 10))
Error in Ops.units(x, as.numeric(smooth)) :
both operands of the expression should be "units" objects
Calls: predict ... [<-.units -> NextMethod -> t -> apply -> FUN -> Ops.units
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.3.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Introduction_to_remap.Rmd’ using rmarkdown
Quitting from Introduction_to_remap.Rmd:124-141 [lm_huc2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `Ops.units()`:
! both operands of the expression should be "units" objects
---
Backtrace:
▆
1. ├─base::mean((utsnz$WESD - exp(predict(lm_huc2, utsnz, smooth = 10)))^2)
2. ├─stats::predict(lm_huc2, utsnz, smooth = 10)
3. └─remap:::predict.remap(lm_huc2, utsnz, smooth = 10)
4. ├─base::`[<-`(...)
5. ├─units:::`[<-.units`(...)
6. ├─base::NextMethod()
7. ├─base::t(...)
8. └─base::apply(...)
9. └─remap (local) FUN(newX[, i], ...)
10. └─units:::Ops.units(x, as.numeric(smooth))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Introduction_to_remap.Rmd' failed with diagnostics:
both operands of the expression should be "units" objects
--- failed re-building ‘Introduction_to_remap.Rmd’
SUMMARY: processing the following file failed:
‘Introduction_to_remap.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc