You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should fetch calls to library, require, requireNamespace etc too, we might return a list with :
all package names (the most important one)
all pkg::fun calls
all library calls
etc
We might return this list silently and propose a usethis::use_package call if we're in a package, or otherwise a call like the following which the user might paste at the top of their main script:
required_pkgs <- c("assertthat", "bag.epi.dboard.etl", "bag.epi.io", "bag.epi.shapes",
"data.table", "dtplyr", "httr", "openxlsx", "padr", "plyr")
for (pkg in required_pkgs) {
requireNamespace(pkg)
}
This is useful for project diagnostics, esp if we're trying to build a package from a messy project
Something like this :
should be generalized to
:::
and have a flexible dir to start onThe text was updated successfully, but these errors were encountered: