-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Having a problem using gallerier as well as the previous lightbox demo that seems to stem from a different implementation of list.files(). All of your code uses a line like this to create a source dataframe:
` images <- data.frame(src = list.files('www/img',full.names = T)) %>%
+ tidyr::separate(col = 'src', c('txt', 'date', 'time', 'msec'), sep = '_|\\.', remove = FALSE)`
But in my R version (4.2.1) list.files() returns a simple character vector of only filenames with no date or time so this statement produces an error like
Expected 4 pieces. Missing pieces filled with NAin 40 rows [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ...].
This code seems to be embedded in the gallerier package making it unusable for me right now, as even the demo shiny app produces the same error. I'm sure this is something obvious I've overlooked--- any insight?
Thanks, Andrew
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels