Switch from style to transformers (#2838)

* Switch to transformers for styler
* Adapt unit test too
This commit is contained in:
Thibault Vatter
2019-11-07 13:22:57 -05:00
committed by w0rp
parent a273b9cf4a
commit db6b1b5ecc
2 changed files with 3 additions and 3 deletions

View File

@@ -13,7 +13,7 @@ Execute(The styler callback should include custom styler options):
\ {
\ 'command': 'Rscript --vanilla -e '
\ . '"suppressPackageStartupMessages(library(styler));'
\ . 'style_file(commandArgs(TRUE), style = '
\ . 'style_file(commandArgs(TRUE), transformers = '
\ . 'a_custom_option)"'
\ . ' %t',
\ 'read_temporary_file': 1,