We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev_mode()
On Windows 11 with R 4.2.1, devtools::dev_mode() fails when the development directory does not exist. Creating the directory first yields success.
devtools::dev_mode()
devtools::dev_mode() Error: [ENOENT] Failed to realize 'C:/Users/wdenn/R-dev': no such file or directory > traceback() 3: (function (..., call. = TRUE, domain = NULL) { if (...length() == 1L && inherits(..1, "condition")) { cond <- ..1 if (nargs() > 1L) warning("additional arguments ignored in stop()") message <- conditionMessage(cond) call <- conditionCall(cond) .Internal(.signalCondition(cond, message, call)) .Internal(.dfltStop(message, call)) } else .Internal(stop(call., .makeMessage(..., domain = domain))) })(structure(list(message = "[ENOENT] Failed to realize 'C:/Users/wdenn/R-dev': no such file or directory"), class = c("ENOENT", "fs_error", "error", "condition"), location = "path.cc:21")) 2: path_real(path) 1: devtools::dev_mode() > dir.create("C:/Users/wdenn/R-dev") > devtools::dev_mode() ✔ Dev mode: ON
The text was updated successfully, but these errors were encountered:
path_real()
dev_mode() is not a function that we recommend or use any more, so we won't fix this.
Sorry, something went wrong.
Thanks for letting me know. I didn't see that in the documentation, so I will make a documentation PR to clarify the deprecation.
No branches or pull requests
On Windows 11 with R 4.2.1,
devtools::dev_mode()
fails when the development directory does not exist. Creating the directory first yields success.The text was updated successfully, but these errors were encountered: