Skip to content

Passing a string to tar_read? #354

Closed Answered by wlandau
mike-lawrence asked this question in Help
Discussion options

You must be logged in to vote

tar_read_raw() can accept a string. Alternatively, tar_load() accepts tidyselect syntax. To create a list using tar_load():

envir <- new.env()
tar_load(ends_with("_data"), envir = envir)
as.list(envir)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mike-lawrence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants