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
Consider trying to find the minimal indentation of expressions in an R file (using the AST via {xmlparsedata}). I'll use dbplyr/tests/testthat/helper-src.R for illustration:
Follow-up to #8.
Consider trying to find the minimal indentation of expressions in an R file (using the AST via {xmlparsedata}). I'll use
dbplyr/tests/testthat/helper-src.R
for illustration:Objective: comment calls to
test_register_con()
, besides theRSQLite
one, with the correct indentationThe part about indentation requires examining the
col1
attribute for all descendant nodes ofexprs
. Here's how we can do this currently:If we have
xml_descendants()
, this can be a tad cleaner + more readable:The text was updated successfully, but these errors were encountered: