diff --git a/R/dvloader.R b/R/dvloader.R index b3a2b19..b9d0895 100644 --- a/R/dvloader.R +++ b/R/dvloader.R @@ -55,7 +55,7 @@ load_data <- function(sub_dir = NULL, file_names, use_wd = FALSE, prefer_sas = F } # create the output - data_list <- create_data_list(study_path, file_names, prefer_sas) #nolint + data_list <- create_data_list(study_path, file_names, prefer_sas) # nolint return(data_list) } diff --git a/vignettes/loading-data-into-memory.Rmd b/vignettes/loading-data-into-memory.Rmd index 8e9457f..b5f47dd 100644 --- a/vignettes/loading-data-into-memory.Rmd +++ b/vignettes/loading-data-into-memory.Rmd @@ -24,9 +24,11 @@ Note: `use_wd = T` can be used to source from local folder. Just set your workin ```{r} test_data_path <- "../inst/extdata" -data_list <- load_data(sub_dir = test_data_path, - file_names = "dummyads2", - use_wd = TRUE) +data_list <- load_data( + sub_dir = test_data_path, + file_names = "dummyads2", + use_wd = TRUE +) class(data_list) @@ -34,7 +36,6 @@ class(data_list) class(data_list[["dummyads2"]]) head(data_list[["dummyads2"]]) - ``` Get the dataframe's metadata through its attributes: