We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If here() is passed a named character vector, the names are discarded.
here()
library(here) foo = c(a = '1', b = '2') here(foo)
Detecting names, and passing them along to the output, would be useful for pipes that start by searching for files and then opening them, eg,
list.files(data_dir, 'csv') |> set_names() |> here(data_dir, _) |> map_dfr(read_csv, .id = 'file')
The text was updated successfully, but these errors were encountered:
Thanks, good idea! If we do it, it should be part of rprojroot.
Sorry, something went wrong.
No branches or pull requests
If
here()
is passed a named character vector, the names are discarded.Detecting names, and passing them along to the output, would be useful for pipes that start by searching for files and then opening them, eg,
The text was updated successfully, but these errors were encountered: