Re: [R-pkg-devel] Cannot implement test configuration

2025-09-07 Thread Hüsing , Johannes via R-package-devel
per E-Mail oder unter der oben angegebenen Telefonnummer. -Ursprüngliche Nachricht- Von: Ivan Krylov Gesendet: Donnerstag, 4. September 2025 00:41 An: Hüsing, Johannes Cc: r-package-devel@r-project.org Betreff: Re: [R-pkg-devel] Cannot implement test configuration В Wed, 3 Sep 2025 05:50:50 +0

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-07 Thread Martin Maechler
> Ivan Krylov via R-package-devel > on Thu, 04 Sep 2025 12:10:23 +0300 writes: > 4 сентября 2025 г. 09:12:49 GMT+03:00, "Hüsing, Johannes" пишет: >> Typing getwd() indeed returns a letter-plus-colon path. > Then usethis::proj_set(getwd()) might help as a workaround. an

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-06 Thread Duncan Murdoch
On 2025-09-04 7:03 a.m., Hüsing, Johannes via R-package-devel wrote: usethis::proj_set(getwd()) ✔ Setting active project to "//some-project/UserHome$/jhuesing/R/Tools/ICD_O_3/ICDO3". ### hmm ... getwd() [1] "u:/R/Tools/ICD_O_3/ICDO3" ### double hmm ... The conversion seems to happen within fu

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-04 Thread Ivan Krylov via R-package-devel
4 сентября 2025 г. 09:12:49 GMT+03:00, "Hüsing, Johannes" пишет: > Typing getwd() indeed returns a letter-plus-colon path. Then usethis::proj_set(getwd()) might help as a workaround. -- Best regards, Ivan __ R-package-devel@r-project.org mailing lis

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-04 Thread Hüsing , Johannes via R-package-devel
usethis::proj_set(getwd()) ✔ Setting active project to "//some-project/UserHome$/jhuesing/R/Tools/ICD_O_3/ICDO3". ### hmm ... > getwd() [1] "u:/R/Tools/ICD_O_3/ICDO3" ### double hmm ... The conversion seems to happen within functions of he usethis package, some of which are used by proj_set() bu

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-03 Thread Ivan Krylov via R-package-devel
В Wed, 3 Sep 2025 05:50:50 + "Hüsing, Johannes" пишет: > ✔ 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/

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-03 Thread Kevin Ushey
Out of curiosity, what do the following report? file.exists("//some_servername/UserHome$") dir.exists("//some_servername/UserHome$") fs::file_exists("//some_servername/UserHome$") fs::dir_exists(""//some_servername/UserHome$") Looking at the sources, 'usethis' should be checking i

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-03 Thread Hüsing , Johannes via R-package-devel
>A common cause of such problems is path normalization. Base R tries not to >introduce UNC paths, e.g. path > normalization of a path including a drive letter tries not to turn that path > into UNC, exactly for this > reason: there are tools around, not just R, that do not fully support UNC >

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-03 Thread Tomas Kalibera
On 9/2/25 23:44, Ivan Krylov via R-package-devel wrote: On Tue, 2 Sep 2025 06:23:24 + "Hüsing, Johannes via R-package-devel" wrote: Error: [EPERM] Failed to stat '//some_servername/UserHome$': operation not permitted What's the traceback() output immediately after this error happens? If

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-02 Thread Hüsing , Johannes via R-package-devel
iese Nachricht ist nur für den Adressaten bestimmt. Es ist nicht erlaubt, diese Nachricht zu kopieren oder Dritten zugänglich zu machen. Sollten Sie irrtümlich diese Nachricht erhalten haben, bitte ich um Ihre Mitteilung per E-Mail oder unter der oben angegebenen Telefonnummer. -Ursprüngliche

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-02 Thread Ivan Krylov via R-package-devel
On Tue, 2 Sep 2025 06:23:24 + "Hüsing, Johannes via R-package-devel" wrote: > Error: [EPERM] Failed to stat '//some_servername/UserHome$': > operation not permitted What's the traceback() output immediately after this error happens? If you post it, someone may be able to point out the offend

[R-pkg-devel] Cannot implement test configuration

2025-09-02 Thread Hüsing , Johannes via R-package-devel
I am trying to install a test configuration for an existing package under Windows 10. Here’s my in- and the system’s output. > usethis::use_testthat(edition = 3, parallel = TRUE) ✔ Setting active project to "//some_servername/UserHome$/jhuesing/R/some_packagename". ✔ Adding "true" to Config/test

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-02 Thread Hüsing , Johannes via R-package-devel
Dr. Johannes Hüsing Epidemiologie Landeskrebsregister NRW gGmbH Gesundheitscampus 10 44801 Bochum T 0234 54509-216 F 0234 54509-499 johannes.hues...@krebsregister.nrw.de www.landeskrebsregister.nrw.de Newsletter LKR NRW jetzt anmelden unter Newsletter Geschäftsführer 5. Landesqualitätskon

Re: [R-pkg-devel] Cannot implement test configuration

2025-09-02 Thread Tomas Kalibera
On 9/2/25 08:23, Hüsing, Johannes via R-package-devel wrote: I am trying to install a test configuration for an existing package under Windows 10. Here’s my in- and the system’s output. usethis::use_testthat(edition = 3, parallel = TRUE) ✔ Setting active project to "//some_servername/UserH