Skip to content

Vectorising style_file() #219

Closed
Closed

Description

@lorenzwalthert
style_file(rep("test.R", 2))
#> Styling 2 files:
#> test.R. [DONE]
#> test.R. [DONE]
#> No files changed.
#> Warning message:
#> In if (!grepl("\\.[Rr]$", path)) stop(path, " is not a .R file") :
#>   the condition has length > 1 and only the first element will be used

Activity

  1. lorenzwalthert commented on Nov 3, 2017

    @lorenzwalthert
    CollaboratorAuthor

    Maybe redundant now with style_dir(). I guess we can simply write a wrapper that takes uses purrr::map() in combination with style_file(). Probably this function should be called style_files() then?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions