styler
styler copied to clipboard
Upcoming breaking changes
These are probably candidates for release 2.0:
- remove
save_after_stylingenv variable. Already deprecated. -
more_argsmust come last and have no default increate_style_guide(). - set
base_indentionandindent_byto integer default values from numeric. - #796.
- style_pkg() should by default include all file types, plus also find these files everywhere in the package, e.g. R Markdown not just for
README.mdand invignettes/.
Cache related
-
cache_activate()andcache_clear()should have default to the optionstyler.cache_name, notNULLand then overwrite the option. - cache_clear should probably not deactivate the cache.
Do this wisely with https://emptysqua.re/blog/api-evolution-the-right-way/.