Skip to content

Commit

Permalink
local_package_deps: turn warning into error for non-existing director…
Browse files Browse the repository at this point in the history
…y, cf #756
  • Loading branch information
MatthieuStigler authored Nov 2, 2023
1 parent 8875171 commit e11366f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/package.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

load_pkg_description <- function(path) {

path <- normalizePath(path)
path <- normalizePath(path, mustWork = TRUE)

if (!is_dir(path)) {
dir <- tempfile()
Expand Down

0 comments on commit e11366f

Please sign in to comment.