Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make summary table headers sentence case #147

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: review
Title: QC Management and Helpers
Version: 3.9.1.9008
Version: 3.9.1.9009
Authors@R:
c(
person(given = "Eric", family = "Anderson", email = "[email protected]", role = c("aut")),
Expand Down
10 changes: 5 additions & 5 deletions inst/templates/QCSummary.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -109,20 +109,20 @@ not_in_log <-
dplyr::mutate(
top_dir = sapply(fs::path_split(file), function(x) x[1]),
`Last edit` = date,
`Days Since...Last Edit` = as.numeric(Sys.Date() - `Last edit`)
`Days since...last edit` = as.numeric(Sys.Date() - `Last edit`)
) %>%
dplyr::filter(
tools::file_ext(file) %in% relevant_file_types,
top_dir %in% relevant_dirs,
!(file %in% params$qcLog$file)
) %>%
dplyr::filter(`Days Since...Last Edit` <= at_risk_days) %>%
dplyr::filter(`Days since...last edit` <= at_risk_days) %>%
dplyr::select(
File = file,
`Last Author` = author,
`Days Since...Last Edit`
`Last author` = author,
`Days since...last edit`
) %>%
dplyr::arrange(`Days Since...Last Edit`) %>%
dplyr::arrange(`Days since...last edit`) %>%
dplyr::distinct()

if (nrow(not_in_log) == 0) {
Expand Down