diff --git a/DESCRIPTION b/DESCRIPTION index ee5606ab3..1750d6fe9 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -25,7 +25,6 @@ Imports: yaml Suggests: desc, - digest, docopt (>= 0.7.1), git2r, glue, diff --git a/R/testing.R b/R/testing.R index 4e3295fbe..b2990d909 100644 --- a/R/testing.R +++ b/R/testing.R @@ -292,7 +292,7 @@ local_test_setup <- function(git = TRUE, #' @param n The number of times we should try #' @keywords internal generate_uninstalled_pkg_name <- function(n = 10) { - additional_pkg <- paste0("package", digest::digest(Sys.time())) + additional_pkg <- paste0("package", rlang::hash(Sys.time())) if (rlang::is_installed(additional_pkg)) { if (n > 0) { generate_uninstalled_pkg_name(n - 1)