[R-pkg-devel] Cannot implement test configuration
? Wed, 3 Sep 2025 05:50:50 +0000 "H?sing, Johannes" <Johannes.Huesing at krebsregister.nrw.de> ?????:
? Setting active project to "//some-server/UserHome$/jhuesing/project_path
So, the goal is for a drive letter path to be in the above output instead of a UNC path?
structure(list(message = "[EPERM] Failed to stat
'//some-server/UserHome$': operation not permitted"), class =
c("EPERM", "fs_error", "error", "condition"), location =
"utils.cc:16"))
The error happens in fs::dir_create()... [1]
7: dir_create(path, recurse = TRUE)
6: create_directory(proj_path(path))
5: use_directory(path("tests", "testthat"))
...but the path originates from somewhere in usethis::proj_path(). Does getwd() return a path with a drive letter? If not, does it help to setwd() to a drive letter path first? Apparently usethis::proj_get() uses a UNC path. Does it help to give a drive letter path to usethis::proj_set() first?