data-raw/_make_computed_numbers_commit.R

message <- sprintf("Updated using nfl4th version %s", utils::packageVersion("nfl4th"))

git <- function(..., echo_cmd = TRUE, echo = TRUE, error_on_status = FALSE) {
  callr::run("git", c(...),
             echo_cmd = echo_cmd, echo = echo,
             error_on_status = error_on_status
  )
}

git("commit", "-am", message)
nflverse/nfl4th documentation built on Sept. 28, 2024, 2:30 a.m.