CRAN Package Check Results for Package ecorisk

Last updated on 2026-06-08 03:50:15 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 6.37 183.22 189.59 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 4.70 95.85 100.55 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.1 11.00 297.60 308.60 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 12.00 302.96 314.96 OK
r-devel-windows-x86_64 0.3.1 9.00 181.00 190.00 OK
r-patched-linux-x86_64 0.3.1 6.89 168.33 175.22 OK
r-release-linux-x86_64 0.3.1 6.57 168.03 174.60 OK
r-release-macos-arm64 0.3.1 2.00 42.00 44.00 OK
r-release-macos-x86_64 0.3.1 5.00 167.00 172.00 OK
r-release-windows-x86_64 0.3.1 10.00 173.00 183.00 OK
r-oldrel-macos-arm64 0.3.1 1.00 44.00 45.00 OK
r-oldrel-macos-x86_64 0.3.1 5.00 148.00 153.00 OK
r-oldrel-windows-x86_64 0.3.1 12.00 227.00 239.00 OK

Check Details

Version: 0.3.1
Check: examples
Result: ERROR Running examples in ‘ecorisk-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: plot_heatmap > ### Title: Generate a Heatmap Overview of Individual Risk Scores, > ### Aggregated Risk Scores, and Overall Ecosystem Risk > ### Aliases: plot_heatmap > > ### ** Examples > > ### Demo with output data from the risk() and aggregate_risk() functions > # based on expert scores. > > # Using default settings for the overall risk scores and associated uncertainty > # scores (i.e. in this case, combined across both types) > p_heat <- plot_heatmap( + risk_scores = ex_output_risk_expert, + aggregated_scores = ex_output_aggregate_risk_expert + ) Error: Package "ggpubr" must be installed to use this function. Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed model_exposure 4.618 0.211 5.814 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [37s/45s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(ecorisk) > > test_check("ecorisk") [[1]] [[2]] [[3]] [[4]] Saving _problems/test-plotting_functions-14.R Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. Please review the model diagnostics of the GAMs applied in the time series based sensitivity scoring using the function plot_diagnostic_sensitivity(). Remove models with unacceptable diagnostics from the output table of this function. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 450 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-plotting_functions.R:11:3'): plotting functions give a known output ── Error: Package "ggpubr" must be installed to use this function. Backtrace: ▆ 1. └─ecorisk::plot_heatmap(risk_scores = ex_output_risk_expert, aggregated_scores = ex_output_aggregate_risk_expert) at test-plotting_functions.R:11:3 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 450 ] Deleting unused snapshots: 'plotting_functions/diagnostic-plot.svg' and 'plotting_functions/heatmap-plot.svg' Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘ecorisk.Rmd’ using rmarkdown Quitting from ecorisk.Rmd:718-723 [model diagnostics sensitivity] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! Package "mgcViz" must be installed to use this function. --- Backtrace: ▆ 1. └─ecorisk::plot_diagnostic_sensitivity(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'ecorisk.Rmd' failed with diagnostics: Package "mgcViz" must be installed to use this function. --- failed re-building ‘ecorisk.Rmd’ SUMMARY: processing the following file failed: ‘ecorisk.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc