pak::pkg_install('blue-matter/MSEtool@prerelease')1 About openMSE 2.0
openMSE v2.0 represents a major update from earlier versions of openMSE and its component packages.
These updates include a complete code refactoring, where all existing source code was restructured to improve efficiency, readability, and ease of maintenance, and a redesign of the core object classes in the openMSE framework and the related functions .
The majority of these revisions have been done in the MSEtool package. The following package versions are required to use openMSE v2.0:
openMSE >=2.0MSEtool >=4.0DLMtool >= 7.0SAMtool >= 2.0
Currently only MSEtool v4.0 has been developed and needs to be installed from Github:
Despite what it says above, all code in this Technical Manual will work with existing CRAN versions of openMSE, DLMtool, and SAMtool.
These packages will be updated to the latest versions specified above once MSEtool v4.0 is stable and released on CRAN.
1.1 Backwards Compability
The openMSE v2.0 packages are completely backwards compatible with earlier versions, so all code developed using earlier versions of openMSE and its component packages should still work without any changes. Please file an issue if you experience issues where openMSE 2.0 has caused issues with existing code.
Other than fixes to maintain backwards compatibility, the legacy code base will not be updated. For new applications, users are recommended to update to openMSE v2.0 and follow the structure outlined in this manual.
1.2 Overview of Major Changes
This section is primarily relevant to readers who have been working with openMSE in the past and are interested in learning about the technical differences between openMSE 2.0 and earlier versions of the packages.
The majority of the new developments have occurred in the MSEtool package. The most significant changes are the development of new object classes and new accessor and assignment functions related to those objects.
Table 1.1 provides on overview of the new object classes, and some examples of the accessor and assignment functions that operate on those objects.
Lowercase names are used for all new object classes, however the accessor and assignment functions use either uppercase for acronyms (e.g., OM()) or regular case (e.g., Stock()).
The function examples in Table 1.1 are primarily intended for demonstration purposes and, particularly the assignment functions, in practice may require additional arguments. Consult the help documentation for the respective object class (e.g., ?OM ) for further information.
The new object classes and related functions are described in more detail elsewhere in this manual.
openMSE 2.0
| New Class | Description | Key Functions Examples | Deprecated Class |
|---|---|---|---|
om |
S4 object containing the operating model information. Used for both single-stock/fleet and multi-stock/fleet models. |
OM(): Create new om-class object |
|
stock |
S4 object containing information relating to the biological characteristics of a stock. |
|
Stock |
fleet |
S4 object containing information relating to the exploitation characteristics of a stock. |
|
Fleet |
obs |
S4 object containing information related to the observation model used to generate fishery data. |
|
Obs |
imp |
S4 object containing information related to the implementation error for management advice produced by management procedures. Note: Implementation error is currently not implemented in |
|
Imp |
data |
S4 object containing information related to fishery data. A Each |
|
Data |
mp |
Function that takes a data -class object and returns an advice-class object. |
|
MP |
advice |
S4 object returned by a mp-class function and containing information related management advice. |
Advice(): Create a new advice-class object |
Rec |
hist |
S4 object containing the simulated historical fishery and information for future population dynamics. Used for both single-stock/fleet and multi-stock/fleet models. |
Note: The object returned by |
|
mse |
S4 object containing all information from the historical and projection periods. Used for both single-stock/fleet and multi-stock/fleet models. |
Used by performance metric and summary table functions. Note: performance metric functions have not yet been developed for |
|
