Skip to content

Move models into package namespace #37

@ethanplunkett

Description

@ethanplunkett

Move models environment into package namespace and don't load them during package load. This is simpler than what we are doing now.

  • In R/models.R : models <- new.env()
  • In load_models()
    • Drop code that creates the environment.
    • Update conditional for loading models to only check if the models are in the environment.
  • Delete .on_load()
  • Add text to readme to explain that models should be explicitly loaded by calling load_models() while configuring the API.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions