[R-pkg-devel] devtools::check() endless loop

Duncan Murdoch murdoch@dunc@n @end|ng |rom gm@||@com
Fri Dec 5 16:34:20 CET 2025


The R CMD check needs to include the package to check, e.g.

   R CMD check staduicc_0.3.1.tar.gz

(assuming the tar.gz file is in your current directory).

If you're getting errors, warnings and notes it sounds as though you 
have Rtools installed properly now.  The next step is to fix all the 
errors and warnings (and some of the notes).  If you need help with 
interpreting them, post them here.

Duncan Murdoch

On 2025-12-05 9:49 a.m., Hüsing, Johannes via R-package-devel wrote:
> Many thanks for helpful hint. I’d be most grateful if you could direct me to a more appropriate info source. Duncan’s link was already helpful.
> 
> I installed R in version 4.5.2, renamed the directory for R version 4.3.3, edited the path from R in 4.3.3 to 4.5.2, did the same in the environment variable. rtools45 was installed in C: (a bit ugly IMO). When typing R <Ret> from git bash, R 4.5.2 would start. Typing R CMD check results in the error message: “Die Syntax für den Dateinamen, Verzeichnisnamen oder die Datenträgerbezeichnung ist falsch.“ Running devtools::check() results in printing the outputs of various diagnostic checks, tallying the number of errors, warnings and notes at the end. Running devtools::dev_sitrep() from within the package yields the following output:
> 
> ── R ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> • version: 4.5.2
> • path: 'C:/Program Files/R/R-4.5.2/'
> ── Rtools ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> • path:
> ── devtools ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> • version: 2.4.6
> ── dev package ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
> • package: 'staduicc'
> • path: '//LKR-FILESRV/Epidemiologie/Materialien_Software/staduicc/'
> 
> Should I be worried that no path is returned for Rtools?
> 
> 
> Dr. Johannes Hüsing
> Epidemiologie
> 
> Landeskrebsregister NRW gGmbH
> Gesundheitscampus 10
> 44801 Bochum
> 
> T 0234 54509-216
> F 0234 54509-499
> Johannes.Huesing using krebsregister.nrw.de<mailto:Johannes.Huesing using krebsregister.nrw.de>
> www.landeskrebsregister.nrw<http://www.landeskrebsregister.nrw>
> 
> Das Landeskrebsregister NRW online
> FACEBOOK: https://www.facebook.com/LKRNordrheinWestfalen/
> INSTAGRAM: https://www.instagram.com/landeskrebsregister_nrw
> LINKEDIN: https://www.linkedin.com/company/87452209/admin/feed/posts/
> 
> Newsletter LKR NRW - jetzt anmelden unter
>   https://www.landeskrebsregister.nrw/aktuelles/newsletter
> 
> 
> Geschäftsführer
> Dr. Andres Schützendübel
> Vorsitzender der Gesellschafterversammlung
> Staatssekretär Matthias Heidmeier
> Sitz der Gesellschaft
> Bochum
> Registergericht
> Amtsgericht Bochum
> HRB 17715
> 
> HINWEIS: Diese 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.
> Von: Josiah Parry <josiah.parry using gmail.com>
>> You may have a devtools::load_all() in one of your scripts somewhere
> 
> Thanks for the hint, but I use devtools::load_all only through dialogue with the cosole.
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list