Skip to content

Commit 55fe84d

Browse files
authored
Merge pull request #163 from NOAA-EDAB/dev
update main
2 parents 189d789 + aef5901 commit 55fe84d

33 files changed

Lines changed: 2241 additions & 650 deletions

.Rbuildignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@
99
^doc$
1010
^Meta$
1111

12+
# files/folders
13+
CODE_OF_CONDUCT.md
14+
CONTRIBUTING.md
15+
testthat

DESCRIPTION

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rpath
22
Type: Package
33
Title: R implementation of Ecopath with Ecosim
4-
Version: 1.0.0
4+
Version: 1.1.0
55
Authors@R: c(
66
person("Kerim", "Aydin", email = "kerim.aydin@noaa.gov", role = c("aut", "cre"),
77
comment = c(ORCID = "0000-0003-3792-9828")),
@@ -36,7 +36,9 @@ Imports:
3636
stats,
3737
utils,
3838
ggrepel,
39-
ggplot2
39+
ggplot2,
40+
janitor,
41+
xml2
4042
LinkingTo: Rcpp
4143
Suggests:
4244
here,
@@ -51,6 +53,7 @@ Suggests:
5153
usethis,
5254
dplyr,
5355
generics,
56+
DT,
5457
testthat (>= 3.0.0)
5558
VignetteBuilder: knitr
5659
RoxygenNote: 7.3.2

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export(adjust.fishing)
1111
export(adjust.forcing)
1212
export(adjust.scenario)
1313
export(check.rpath.params)
14+
export(create.rpath.from.eiixml)
1415
export(create.rpath.params)
1516
export(extract.node)
1617
export(frate.table)
@@ -20,6 +21,7 @@ export(get.rsim.params)
2021
export(get.rsim.stanzas)
2122
export(get.rsim.start_state)
2223
export(ggwebplot)
24+
export(import.eiixml)
2325
export(read.rpath.params)
2426
export(rpath)
2527
export(rpath.consumers)

NEWS.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# Rpath 1.1.0
2+
3+
- Added ability to import .eiixml files via the `create.rpath.from.eiixml()` function
4+
- Added balance functionality to estimate P/B from input Biomass and EE, also
5+
allowing a missing Q/B to be estimated from input PC and the estimated P/B
6+
- Corrected accounting for single-stage interdetrital flows during balance
7+
- Behavior change: if all of P/B, Q/B, and PC are supplied as inputs for a group, recalculate PC during balance to ensure internal model consistency (instead of leaving PC unchanged and possibly inaccurate)
8+
- Improved error messages in `rpath()` balance routine to help diagnose models that are missing parameters
9+
- Improved warning message content in `check.rpath.params()` to aid diagnosis
10+
- Modified `rpath.stanzas()` so it no longer produces errors when called with a model that has no multistanza groups (instead it returns the model unchanged)
11+
- Added Western Bering Sea model .eiixml and EwE output csv files as an import example
12+
- Added `Convert_EwE_to_Rpath` vignette to describe .eiixml import process
13+
- Tested eiixml input routines on over 150 models available via EcoBase with most producing consistent results between Rpath and EwE; some remaining balancing differences between Rpath and EwE are noted in the `Convert_EwE_to_Rpath` vignette
14+
- Fixed some table ordering issues with stanza inputs
15+
- Documentation fixes
16+
17+
118
# Rpath 1.0.0
219

320
- Fix group parameter reference in `adjust.scenario`

0 commit comments

Comments
 (0)