- using R version 4.5.2 Patched (2026-01-31 r89374)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.3.0-10) 14.3.0
GNU Fortran (Debian 14.3.0-10) 14.3.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘forestmangr/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘forestmangr’ version ‘0.9.8’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘forestmangr’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [21s/25s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [15s/19s] ERROR
Running examples in ‘forestmangr-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: huberwb
> ### Title: Calculate the volume with bark of trees using the Huber method
> ### Aliases: huberwb
>
> ### ** Examples
>
> library(forestmangr)
> data("exfm8")
> head(exfm8)
# A tibble: 6 × 10
CLONE STRATA TREE LOG DBH TH hi di_wb bark_t sec_length
<int> <int> <int> <int> <dbl> <int> <dbl> <dbl> <dbl> <int>
1 9318 4 1 1 17.6 21 0.5 18.5 6 1
2 9318 4 1 2 17.6 21 1.5 17.5 6 1
3 9318 4 1 3 17.6 21 2.5 17 5 1
4 9318 4 1 4 17.6 21 3.5 16.5 5 1
5 9318 4 1 5 17.6 21 4.5 16 4 1
6 9318 4 1 6 17.6 21 5.5 16 4 1
>
> # Calculate the volume with bark using the Huber method:
> huberwb(exfm8,"di_wb", "sec_length", "TREE")
Error:
! The `add` argument of `group_by()` was deprecated in dplyr 1.0.0 and
is now defunct.
ℹ Please use the `.add` argument instead.
Backtrace:
▆
1. ├─forestmangr::huberwb(exfm8, "di_wb", "sec_length", "TREE")
2. │ └─... %>% dplyr::ungroup()
3. ├─dplyr::ungroup(.)
4. ├─dplyr::mutate(...)
5. ├─dplyr::group_by(., !!!.groups_syms, !!!tree_syms, add = T)
6. └─dplyr:::group_by.data.frame(...)
7. └─dplyr::group_by_prepare(.data, ..., .add = .add, error_call = current_env())
8. └─lifecycle::deprecate_stop("1.0.0", "group_by(add = )", "group_by(.add = )")
9. └─lifecycle:::deprecate_stop0(msg)
10. └─rlang::cnd_signal(...)
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
est_clutter 4.058 0.170 5.090
avg_tree_curve 3.380 0.199 5.254
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [117s/154s] OK
- checking PDF version of manual ... [7s/9s] OK
- checking HTML version of manual ... [3s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR