From e11366f2ccef5b1a09e8fd1cb5b42051dbb07dcf Mon Sep 17 00:00:00 2001 From: Matthieu Date: Thu, 2 Nov 2023 09:36:25 +0100 Subject: [PATCH] local_package_deps: turn warning into error for non-existing directory, cf #756 --- R/package.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/package.R b/R/package.R index 87e4c633..21b8b65f 100644 --- a/R/package.R +++ b/R/package.R @@ -1,7 +1,7 @@ load_pkg_description <- function(path) { - path <- normalizePath(path) + path <- normalizePath(path, mustWork = TRUE) if (!is_dir(path)) { dir <- tempfile()