Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to load the data files #295

Open
leoniedu opened this issue Sep 2, 2024 · 0 comments
Open

Add an option to load the data files #295

leoniedu opened this issue Sep 2, 2024 · 0 comments

Comments

@leoniedu
Copy link

leoniedu commented Sep 2, 2024

Even with medium sized data files, load_all takes a significant time to load. Could an option to load the data be added?

Something like:

load_all <- function(path = ".",
reset = TRUE,
compile = NA,
attach = TRUE,
export_all = TRUE,
export_imports = export_all,
helpers = export_all,
attach_testthat = uses_testthat(path),
quiet = NULL,
recompile = FALSE,
warn_conflicts = TRUE,
load_data = TRUE)
...
if (load_data) out$data <- load_data(path)
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant