- using R Under development (unstable) (2024-10-01 r87205)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 19.1.0 (4)
Debian flang-new version 19.1.0 (4)
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘abmR/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘abmR’ version ‘1.0.10’
- 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 ‘abmR’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [12s/14s] OK
- checking whether the package can be loaded with stated dependencies ... [12s/16s] OK
- checking whether the package can be unloaded cleanly ... [12s/16s] OK
- checking whether the namespace can be loaded with stated dependencies ... [12s/16s] OK
- checking whether the namespace can be unloaded cleanly ... [12s/16s] OK
- checking loading without being on the library search path ... [13s/15s] 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 ... [54s/69s] OK
- checking Rd files ... [0s/1s] NOTE
checkRd: (-1) get_ex_data.Rd:31-32: Lost braces in \itemize; meant \describe ?
checkRd: (-1) get_ex_data.Rd:33: Lost braces in \itemize; meant \describe ?
checkRd: (-1) get_ex_data.Rd:34-35: Lost braces in \itemize; meant \describe ?
checkRd: (-1) get_ex_data.Rd:36: Lost braces in \itemize; meant \describe ?
checkRd: (-1) tidy_results.Rd:28-29: Lost braces in \itemize; meant \describe ?
checkRd: (-1) tidy_results.Rd:30: Lost braces in \itemize; meant \describe ?
- 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 ... [9s/13s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [21s/27s] ERROR
Running examples in ‘abmR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: energyVIZ
> ### Title: Creates a plot/table of energySIM() results
> ### Aliases: energyVIZ
>
> ### ** Examples
>
>
> # 1. Define Population and Run energySIM()
>
> pop1 <- as.species(x=-98.7, y=34.7)
>
> EX1=energySIM(replicates=2,days=7,env_rast=ex_raster, search_radius=200,
+ sigma=.1, dest_x=-108.6, dest_y=26.2, mot_x=.9, mot_y=.9,
+ modeled_species=pop1,
+ optimum_lo=.8,optimum_hi=.9,init_energy=100,
+ direction="R",write_results=FALSE,single_rast=TRUE,mortality = TRUE)
Direction=R specified--Raster will be ignored
>
> # 2. Run energyVIZ() on your result
>
> energyVIZ(EX1,title="Visualizing EnergySIM results",type="plot", aspect_ratio=5/3,
+ label=TRUE)
Warning in geom_map(data = world, map = world, aes_string("long", "lat", :
Ignoring unknown aesthetics: x and y
>
> energyVIZ(EX1,type="summary_table")
Error in `dplyr::mutate()`:
ℹ In argument: `stat = as.character(...)`.
Caused by error in `glue_data()`:
! is.environment(.envir) is not TRUE
Backtrace:
▆
1. ├─abmR::energyVIZ(EX1, type = "summary_table")
2. │ └─gtsummary::tbl_summary(data$results[, -c(1, 2, 9)])
3. │ ├─base::structure(...)
4. │ ├─base::append(...)
5. │ └─gtsummary::brdg_summary(...)
6. │ ├─dplyr::left_join(...)
7. │ ├─dplyr:::left_join.data.frame(...)
8. │ │ └─dplyr::auto_copy(x, y, copy = copy)
9. │ │ ├─dplyr::same_src(x, y)
10. │ │ └─dplyr:::same_src.data.frame(x, y)
11. │ │ └─base::is.data.frame(y)
12. │ ├─dplyr::bind_rows(...)
13. │ │ └─rlang::list2(...)
14. │ └─gtsummary::pier_summary_continuous(...)
15. │ ├─... %>% ...
16. │ ├─dplyr::bind_rows(...)
17. │ │ └─rlang::list2(...)
18. │ ├─dplyr::group_map(...)
19. │ └─dplyr:::group_map.data.frame(...)
20. │ └─dplyr:::map2(chunks, group_keys, .f, ...)
21. │ └─base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
22. │ └─gtsummary (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]])
23. │ ├─dplyr::mutate(...)
24. │ └─dplyr:::mutate.data.frame(...)
25. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
26. │ ├─base::withCallingHandlers(...)
27. │ └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
28. │ └─mask$eval_all_mutate(quo)
29. │ └─dplyr (local) eval()
30. ├─dplyr::left_join(...)
31. ├─dplyr:::left_join.data.frame(...)
32. │ └─dplyr::auto_copy(x, y, copy = copy)
33. │ ├─dplyr::same_src(x, y)
34. │ └─dplyr:::same_src.data.frame(x, y)
35. │ └─base::is.data.frame(y)
36. ├─glue::glue(...)
37. │ └─glue::glue_data(...)
38. │ └─base::stopifnot(is.environment(.envir))
39. │ └─base::stop(simpleError(msg, call = if (p <- sys.parent(1L)) sys.call(p)))
40. └─dplyr (local) `<fn>`(`<smplErrr>`)
41. └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE