powered by
Style a package
style(config_file = "tergo.toml", configuration = list(), ...)
No return value, called for side effects.
(character) The path to the configuration file. Default "tergo.toml".
character
"tergo.toml"
(list) Configuration for formatting. Default list().
list
list()
additional parameters to style_pkg()
style_pkg()
Configuration is read from a file named tergo.toml in the root of the package. The precedence of the configuration is (from the highest to lowest):
tergo.toml
The configuration passed to the function.
The configuration file.
To see possible configuration options, see get_default_config().
get_default_config()
style() style(config_file = "tergo.toml", configuration = list())
Run the code above in your browser using DataLab