We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e64daf commit 41a2f0bCopy full SHA for 41a2f0b
R/directory.R
@@ -58,7 +58,7 @@ directory_has_files <- function(x) {
58
59
check_directory_is_empty <- function(x) {
60
if (directory_has_files(x)) {
61
- ui_abort("{.path {pth(path)}} exists and is not an empty directory.")
+ ui_abort("{.path {pth(x)}} exists and is not an empty directory.")
62
}
63
invisible(x)
64
0 commit comments