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
This might be also a problem with R6. @pat-s have you experienced problems here? Looks like with this PR, any change in a line (after comment removal) with function( in it should trigger an invalidation so we are safe.
This means a change in a signature would not cause a re-styling? I don't think I've experience this in a way that I would make me suspicious something is going wrong.
AFAIU one would not recognise a direct failure but just styling silently being skipped because the cache is used, correct?
No, this refers to the roxygenize hook, not to the styler hook. If you change the function declaration without changing any roxygen comment, the cache of the roxygenize hook in R precommit (not styler) is not invalidated with the master branch currently because we only check if the diff contains the regex ^#'.
Since we only check roxygen2 comments, we don't invalidate the cache currently when the function header changes, e.g. from
to
The text was updated successfully, but these errors were encountered: