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
Use the cli package to create nice ticks next to the styled files instead of the red, aggressive [DONE] if the styling did not change, an info icon if the styling changed and an warning icon if the styling failed. At the end of the styling, we can add a summary. Just like this:
Ideally we would also add one of the circling dots but I have not figured out how to do that quickly. Maybe you @krlmlr know how that works form testthat?
Instead of a logical vector, style_file() and friends should (invisibly) return a tibble that contains the paths to the files as well.
return_value#> # A tibble: 1 x 2#> file changed#> <chr> <lgl>#> 1 tests/testthat/test-start_line.R FALSE
Activity
krlmlr commentedon Nov 27, 2017
I think
cli::demo_spinners()gives a good starting point for the circling dots. We need: