-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The .RDS files need to be changed to .rda files.
Simple to do by loading them into the workspace then using usethis::use_data(sablefish_om_big)
The data will then be stored appropriately and be able to be called using SablefishMSE::sablefish_om_big of sablefish_om_big with lazy loading.
Reason for this is that a package doesn't install the data in the global environment, e.g., works on your machine within the package using load_all() but is unavailable for anyone loading the package on their machine.
here is an example of where this becomes an issue. If sablefishMSE is loaded as a package, not simply copied, then there is no 'data' folder, as it is held in the same location as other R libraries, so is inaccessible.
Metadata
Metadata
Assignees
Labels
No labels