r-lib / styler

Non-invasive pretty printing of R code
https://styler.r-lib.org
Other
703 stars 70 forks source link

Don't store code tree structures in tests #1208

Closed IndrajeetPatil closed 2 months ago

IndrajeetPatil commented 2 months ago

Closes #1206

And also remove everything that was needed for R 3.2.

Script used to delete files:

tree_files_to_delete <-
  fs::dir_ls(
    path = ".",
    glob = "*.R|*.Rprofile|*.Rmd|*.Rmarkdown|*.Rnw|*.Qmd",
    invert = TRUE,
    type = "file",
    recurse = TRUE
  ) |>
  stringr::str_subset("_tree") |>
  purrr::map_chr(fs::path_abs)

stopifnot(all(fs::file_exists(tree_files_to_delete)))

fs::file_delete(tree_files_to_delete)
github-actions[bot] commented 2 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 4f782529e2419471d9abcf60899bf28a34bd5268 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.

github-actions[bot] commented 2 months ago

This is how benchmark results would change (along with a 95% confidence interval in relative change) if 4f782529e2419471d9abcf60899bf28a34bd5268 is merged into main:

Further explanation regarding interpretation and methodology can be found in the documentation.