diff --git a/DESCRIPTION b/DESCRIPTION index 08dd8fb..f3db6f9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -32,6 +32,7 @@ Imports: remotes (>= 1.0.0.9000), RSQLite, sessioninfo, + stats, utils, whoami, withr, @@ -51,4 +52,4 @@ Remotes: Encoding: UTF-8 LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 6.0.1.9000 +RoxygenNote: 6.1.0 diff --git a/NAMESPACE b/NAMESPACE index 73467a0..15bc5e5 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -34,10 +34,10 @@ importFrom(RSQLite,dbExistsTable) importFrom(RSQLite,dbIsValid) importFrom(assertthat,"on_failure<-") importFrom(assertthat,assert_that) -importFrom(cli,rule) importFrom(callr,r) importFrom(callr,r_process) importFrom(callr,r_process_options) +importFrom(cli,rule) importFrom(clisymbols,symbol) importFrom(crancache,available_packages) importFrom(crancache,install_packages) diff --git a/man/revdep_check.Rd b/man/revdep_check.Rd index 5b4ed31..9d8607a 100644 --- a/man/revdep_check.Rd +++ b/man/revdep_check.Rd @@ -5,9 +5,9 @@ \alias{revdep_reset} \title{Run revdep checks} \usage{ -revdep_check(pkg = ".", dependencies = c("Depends", "Imports", "Suggests", - "LinkingTo"), quiet = TRUE, timeout = as.difftime(10, units = "mins"), - num_workers = 1, bioc = TRUE) +revdep_check(pkg = ".", dependencies = c("Depends", "Imports", + "Suggests", "LinkingTo"), quiet = TRUE, timeout = as.difftime(10, + units = "mins"), num_workers = 1, bioc = TRUE) revdep_reset(pkg = ".") } diff --git a/man/revdep_email.Rd b/man/revdep_email.Rd index d290df2..4cc3fca 100644 --- a/man/revdep_email.Rd +++ b/man/revdep_email.Rd @@ -5,9 +5,11 @@ \alias{revdep_email_draft} \title{Notify revdep maintainers about problems} \usage{ -revdep_email(type = c("broken", "failed"), pkg = ".", packages = NULL) +revdep_email(type = c("broken", "failed"), pkg = ".", + packages = NULL, draft = FALSE) -revdep_email_draft(type = "broken", pkg = ".", data = email_data(pkg)) +revdep_email_draft(type = "broken", pkg = ".", + data = email_data(pkg)) } \arguments{ \item{type}{Type of problems to notify about; either "broken" (i.e. there @@ -20,6 +22,9 @@ of a timeout).} \item{packages}{A character vector of package names. Use this if some emails failed to send in the previous round. If omitted uses all packages.} +\item{draft}{If \code{TRUE}, create a gmail draft rather than sending the email +directly.} + \item{data}{Optionally, supply a named list to provide your own parameters to fill in the template} }