This is the simplified path. It appears likely related to the following code in check_dir:
x <- gsub("\", "/", x, fixed = TRUE)
\ (or "\") is the beginning of a UNC path. Since the current version of devtools requires R >=3.1, perhaps you can use the new functionality in file.path to strip the trailing space and swap that line for
x <- file.path(x)
The text was updated successfully, but these errors were encountered:
When working on a UNC share, check_dir indicates:
"Error: Can't find directory /server\share\directory\subdir"
This is the simplified path. It appears likely related to the following code in check_dir:
x <- gsub("\", "/", x, fixed = TRUE)
\ (or "\") is the beginning of a UNC path. Since the current version of devtools requires R >=3.1, perhaps you can use the new functionality in file.path to strip the trailing space and swap that line for
x <- file.path(x)
The text was updated successfully, but these errors were encountered: