-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi There
I'm working through the vignette and noticed a few issues. Some have been reported by other users, but I noticed that a couple are >2 years old and haven't yet been addressed. For that reason, I'm opening a single issue with several notes.
Would you recommend that users clone & modify their own local version of the package, if this version is no longer to be maintained? I understand it's a big lift to maintain a package, so wanted to check before moving forward for research purposes.
Here's what I've come upon. Will continue to add as I find issues.
- Big-picture, the package depends on two deprecated CRAN pacakges:
RandomFieldsandsf. The former must be manually installed from the tarball archive. - The vignette does not have arguments passed to
init_popforwtnorwtm1; the default values for these are of length 1 which is not the same length as the number of species in the example (2). The user needs to passc('spp1' = 1, 'spp2' = 1)(or some other number) to both variables for the vignette to run. - As indicated by @Blevy2 in this issue, the number of fishing days is fixed to five. This causes the vignette to fail if the user changes the number of fishing days when
init_fleetis run since there's a mismatch in the dimensions. run_simfails with an error about catches not being the right dimensions; it took me several hours to track this down to an issue online 5 ofsum_fleet_catcheswhere it wants to sum acrosssp_fleets_catchesthough those values are all NULL (they don't seem to get populated by thego_fishroutine).- I recognize that an example of
init_surveyis not in the vignette, but when I run the function with the default settings,run_simfails at line 421 because 1) the default output for Q is of length 1 (not 2, one for each species) and 2) the colnames undersurvey$surveysettingsneeds to match the lookup syntax ("Qs.spp1"), not "Qs1".
Metadata
Metadata
Assignees
Labels
No labels