Skip to content

allow rmd styling also via style_dir() and style_pkg() #291

Closed

Description

@lorenzwalthert

style_dir() and style_pkg() should gain a new argument extension (that defaults to c("R")) to indicate which types of extensions should be styled. It should handle:

  • just R files (extension = "R" or extension = c("R")).
  • just Rmd files (extension = "Rmd" or extension = c("Rmd")).
  • both (extension = c("Rmd", "R")).

The case should be ignored, i.e. extension = c("rMd") should be accepted. Nice to have: a trailing dot is removed (i.e. extension = c(".Rmd") also works).

Activity

  1. krlmlr commented on Nov 27, 2017

    @krlmlr
    Member

    Do you want to include this in the first CRAN release?

  2. krlmlr commented on Nov 27, 2017

    @krlmlr
    Member

    Oh, I missed the open PR. Fine with me.

  3. krlmlr commented on Dec 5, 2017

    @krlmlr
    Member

    Closed by #292.

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