You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks. Are you talking about the style_dir() API or which function?
Related as far as file filtering goes: #515
I don't think we can easily or should use .libPaths(). But we could potentially ignore renv and packrat directories.
Yes, I believe it was style_dir() that gave me this behavior. Ignoring renv / packrat would work just fine - I was hoping there was a more generic implementation (lest some other package have the same behavior). However, renv / packrat is simple enough and solves the need 😄
I think we better add an argument exclude_dirs to style_dir() and make the default such that packrat and renv are ignored, so it's transparent to the end user what happens.
When using tools like
renv
orpackrat
,styler
seems to be going through the entire library by default (and styling all of the R packages in use).By default,
styler
should probably either:.libPaths()
foldersThe text was updated successfully, but these errors were encountered: