Skip to content

Commit d0efe98

Browse files
committed
Fix failing test
1 parent d1c37cd commit d0efe98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/proj.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ proj_set <- function(path = ".", force = FALSE) {
5151
}
5252

5353
scoped_temporary_package <- function(dir = tempfile(), env = parent.frame()) {
54-
old <- proj_get()
54+
old <- proj$cur
5555
withr::defer(proj_set(old), envir = env)
5656

5757
utils::capture.output(create_package(dir, rstudio = FALSE, open = FALSE))

0 commit comments

Comments
 (0)