tests/testthat/_snaps/get_repos_with_R_packages.md

when get_repos_with_R_packages_from_hosts output is empty return warning

Code
  test_gitstats$get_repos_with_R_packages_from_hosts(packages = "non-existing-package",
    only_loading = FALSE, verbose = TRUE)
Message
  ! No usage of R packages found.
Output
  data frame with 0 columns and 0 rows

get_repos_with_R_packages records timespan of the process

Code
  R_package_usage_table <- get_repos_with_R_packages(gitstats = test_gitstats,
    packages = c("shiny", "purrr"), verbose = TRUE)
Message
  v Data pulled in 0 secs


Try the GitStats package in your browser

Any scripts or data that you put into this service are public.

GitStats documentation built on June 8, 2025, 12:29 p.m.