formatR 1.11
-
The right arrow assignment operator
->
is supported now. -
Added a new argument
args.newline
toformatR::tidy_source()
. When set toTRUE
, 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 )