Skip to content

formatR 1.11

Compare
Choose a tag to compare
@yihui yihui released this 01 Jun 18:55
· 25 commits to master since this release
  • The right arrow assignment operator -> is supported now.

  • Added a new argument args.newline to formatR::tidy_source(). When set to TRUE, function arguments can start on a new line, e.g.,

    shiny::updateSelectizeInput(session, "foo", label = "New Label", selected = c("A",
      "B"), choices = LETTERS, server = TRUE)

    can be reformatted to:

    shiny::updateSelectizeInput(
      session, "foo", label = "New Label", selected = c("A", "B"),
      choices = LETTERS, server = TRUE
    )