Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Feb 24, 2025
1 parent ba79f0d commit 18817bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vignettes/articles/current-deprecations.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ parse_lifecycle_call <- function(symbol_function_call) {
new = new_text
)
}
parse_script <- function(path) {
lifecycle_calls <- path |>
parse(keep.source = TRUE) |>
Expand All @@ -102,13 +103,13 @@ parse_script <- function(path) {
}
scripts <- fs::dir_ls(here::here("R"), glob = "*.R")
scripts <- scripts[fs::path_file(scripts) != "zzz.R"]
table <- do.call(
rbind,
purrr::map(scripts, parse_script),
args = list(make.row.names = FALSE)
purrr::map(scripts, parse_script)
)
knitr::table(table)
knitr::kable(table)
```

0 comments on commit 18817bd

Please sign in to comment.