benchwork optimizer

print_inf(object)

read_lastfile(path, pattern)

Arguments

object

objeto input

path

path to folder

pattern

any specific file extension

Value

Really (context dependent) important outputs.

Functions

  • 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)

Examples


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)

}