CRAN Package Check Results for Package abmR

Last updated on 2024-10-06 07:50:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.10 35.05 305.94 340.99 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.10 24.55 201.68 226.23 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.10 608.80 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.10 492.68 ERROR
r-devel-windows-x86_64 1.0.10 35.00 235.00 270.00 ERROR
r-patched-linux-x86_64 1.0.10 34.96 277.85 312.81 ERROR
r-release-linux-x86_64 1.0.10 33.64 288.86 322.50 NOTE
r-release-macos-arm64 1.0.10 139.00 NOTE
r-release-macos-x86_64 1.0.10 207.00 NOTE
r-release-windows-x86_64 1.0.10 36.00 457.00 493.00 NOTE
r-oldrel-macos-arm64 1.0.10 103.00 OK
r-oldrel-macos-x86_64 1.0.10 207.00 OK
r-oldrel-windows-x86_64 1.0.10 46.00 328.00 374.00 ERROR

Check Details

Version: 1.0.10
Check: Rd files
Result: 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 ? Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 1.0.10
Check: examples
Result: 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 Flavors: r-devel-linux-x86_64-debian-clang, r-patched-linux-x86_64

Version: 1.0.10
Check: examples
Result: ERROR Running examples in ‘abmR-Ex.R’ failed The error most likely occurred in: > ### 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 Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-windows-x86_64