Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d93dfe7
Merge pull request #160 from NOAA-EDAB/main
andybeet Aug 6, 2025
5b566a6
fixed interdetrital flows (EEs and ecosim equilibrium), removed a det…
Aug 20, 2025
5f7396f
PC estimation fixed to overwrite PC if all three of PB, QB, and PC ar…
Aug 20, 2025
15b9ef1
commented changes in PC calculation
Aug 20, 2025
effaa04
Merge pull request #161 from NOAA-EDAB/detrital_fixes
andybeet Aug 21, 2025
f4f0c0d
added/tested PB estimation feature to match EwE
Aug 21, 2025
52de4df
fixed rpath_stanzas so it returns original object silently (no warnin…
Aug 21, 2025
057e02a
Added QB recalculation following balancing for PB
Aug 22, 2025
0d243b1
Made intelligent error message in rpath() when QB can't be calculated…
Aug 22, 2025
4c064fb
Added functional but will be recalculated output to check.rpath.params
Aug 22, 2025
de75fe1
catch -inifinte/missing values in x- error and give more informative …
Aug 22, 2025
1b2224f
Merge pull request #162 from NOAA-EDAB/pb_fixes
andybeet Aug 23, 2025
a82d0c9
in create.rpath.params, fixed unguaranteed assumption about ordering …
Aug 27, 2025
c9d242a
Merge branch 'dev' of github.com:NOAA-EDAB/Rpath into stanza_order_fix
Aug 27, 2025
beaec82
Merge pull request #164 from NOAA-EDAB/stanza_order_fix
andybeet Aug 27, 2025
bdb86de
Add functions for reading and parsing ecobase eiixml files
andybeet Aug 27, 2025
d421291
removed reference to Rpath package since it is now part of the package
andybeet Aug 27, 2025
aa48787
added janitor and xml2 packages as dependencies. Needed for reading x…
andybeet Aug 27, 2025
8383c4a
added exported functions to namespace
andybeet Aug 27, 2025
12ac883
documentation for new functions
andybeet Aug 27, 2025
dda425c
add examples to the exported functions
andybeet Aug 27, 2025
179dc44
documentation fixes
andybeet Aug 27, 2025
8d3d5e6
add content to buildignore
andybeet Aug 27, 2025
bd779ce
added a vignette for converting ecobase to rpath
andybeet Aug 27, 2025
89f5137
add example eiixml file for use in the vignette and function examples
andybeet Aug 27, 2025
1bcf400
add DT package as suggests
andybeet Aug 28, 2025
ef1afa4
replaces whitespace in file name with underscores
andybeet Aug 28, 2025
fec1618
fix path to eiixml
andybeet Aug 28, 2025
34fc300
rework documentation
andybeet Aug 28, 2025
153bea7
edited help docs in xml_convert.r
Sep 3, 2025
cd04b6f
edited some xml_convert.r comment text
Sep 3, 2025
962ce38
Added mention of EwE import to ModelSetup.Rmd
Sep 3, 2025
ba13518
fixed broken link in import.eiixml
andybeet Sep 5, 2025
9176f86
vignette draft
Sep 5, 2025
e2eafb7
fixing vignette conflict
Sep 5, 2025
dbbe971
Merge pull request #166 from NOAA-EDAB/read_eiixml
kaydin Sep 5, 2025
0244b30
updated DESCRIPTION version to 1.1, listed changes in NEWS.md
Sep 5, 2025
aef5901
Merge pull request #167 from NOAA-EDAB/v11prep
kaydin Sep 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@
^doc$
^Meta$

# files/folders
CODE_OF_CONDUCT.md
CONTRIBUTING.md
testthat
7 changes: 5 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: Rpath
Type: Package
Title: R implementation of Ecopath with Ecosim
Version: 1.0.0
Version: 1.1.0
Authors@R: c(
person("Kerim", "Aydin", email = "kerim.aydin@noaa.gov", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-3792-9828")),
Expand Down Expand Up @@ -36,7 +36,9 @@ Imports:
stats,
utils,
ggrepel,
ggplot2
ggplot2,
janitor,
xml2
LinkingTo: Rcpp
Suggests:
here,
Expand All @@ -51,6 +53,7 @@ Suggests:
usethis,
dplyr,
generics,
DT,
testthat (>= 3.0.0)
VignetteBuilder: knitr
RoxygenNote: 7.3.2
Expand Down
2 changes: 2 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export(adjust.fishing)
export(adjust.forcing)
export(adjust.scenario)
export(check.rpath.params)
export(create.rpath.from.eiixml)
export(create.rpath.params)
export(extract.node)
export(frate.table)
Expand All @@ -20,6 +21,7 @@ export(get.rsim.params)
export(get.rsim.stanzas)
export(get.rsim.start_state)
export(ggwebplot)
export(import.eiixml)
export(read.rpath.params)
export(rpath)
export(rpath.consumers)
Expand Down
17 changes: 17 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# Rpath 1.1.0

- Added ability to import .eiixml files via the `create.rpath.from.eiixml()` function
- Added balance functionality to estimate P/B from input Biomass and EE, also
allowing a missing Q/B to be estimated from input PC and the estimated P/B
- Corrected accounting for single-stage interdetrital flows during balance
- 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)
- Improved error messages in `rpath()` balance routine to help diagnose models that are missing parameters
- Improved warning message content in `check.rpath.params()` to aid diagnosis
- 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)
- Added Western Bering Sea model .eiixml and EwE output csv files as an import example
- Added `Convert_EwE_to_Rpath` vignette to describe .eiixml import process
- 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
- Fixed some table ordering issues with stanza inputs
- Documentation fixes


# Rpath 1.0.0

- Fix group parameter reference in `adjust.scenario`
Expand Down
Loading
Loading