Skip to content

Add additional search options for dir_map and dir_walk #483

Open
@Moohan

Description

@Moohan
Contributor

I was hoping to do a PR for this, but after having a poke around it's much more complicated than I can deal with!

I'd like to be able to do path filtering when using dir_map and dir_walk specifically, the 'missing' arguments glob, regexp and invert - I say missing as they are available in dir_ls.

Before looking at the code I assumed it would be something along the lines of dir_map = dir_ls |> purrr::map 😆 and this is essentially what I have done as a workaround.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gaborcsardi@Moohan

        Issue actions

          Add additional search options for `dir_map` and `dir_walk` · Issue #483 · r-lib/fs