Skip to content

data types #8

Description

@BenWilliams-NOAA

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions