benchwork optimizer
print_inf(object)
read_lastfile(path, pattern)
objeto input
path to folder
any specific file extension
Really (context dependent) important outputs.
print_inf()
: make a quick(er) print(n=Inf)
read_lastfile()
: read the last file in a folder (ideal for workflows with daily inputs and updates)
if (FALSE) {
# print_inf ---------------------------------------------------
library(tidyverse)
mtcars %>% as_tibble() %>% print_inf()
# read_lastfile------------------------------------------------
# # read last name in a long list of files
# lastfile_name <-
# read_lastfile(
# path = "../../long_rute_to_folder/",
# pattern = "*.xlsx"
# ) %>%
# print()
#
# # read that filename
# read_excel(lastfile_name)
}