- using R Under development (unstable) (2026-02-03 r89373)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.8
flang version 21.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-02-03 12:55:30Z
- using option ‘--no-stop-on-test-error’
- 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 ... [18s/27s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [34s/42s] OK
- checking Rd files ... 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 ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [26s/40s] ERROR
Running examples in ‘forestmangr-Ex.R’ failed
The error most likely occurred in:
> ### 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [190s/251s] OK
- checking PDF version of manual ... [11s/15s] OK
- checking HTML version of manual ... [9s/16s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR