Many thanks.
Removing the @example section from the *.R file helped insofar as the
diagnostic messages do not contain any errors any more.
However, I would like to have an example spelt out upon request. I therefore
added a vignette by invoking usethis::use_vignette("staduicc"). Entering and
testing the Rmd file worked like a charm. Regrettably, devtools::check() stops
with the message "System command 'Rcmd.exe' failed". I tried to work through
the suggestions in
https://forum.posit.co/t/failed-to-install-package-from-github-rcmd-exe-failed/166390
but to no avail.
As an aside:
> I never use load_all(), so I can't really tell you anything specific
> about it. My understanding is that it sort of fakes the process of
> building and installing a package.
My understanding that it is more or less a source() on all the *.R files in
./R, only that the source is evaluated in the environment bound to the package
instead of <environment: R_globalenv>. I find this desirable.
(Please ignore the advertising messages and instructions on how to handle this
e-mail. They are added by my employer and I cannot help it.)
Dr. Johannes Hüsing
Epidemiologie
Landeskrebsregister NRW gGmbH
Gesundheitscampus 10
44801 Bochum
T 0234 54509-216
F 0234 54509-499
[email protected]
www.landeskrebsregister.nrw.de
Newsletter LKR NRW jetzt anmelden unter Newsletter
<www.landeskrebsregister.nrw/aktuelles/newsletter>
Geschäftsführer
5. Landesqualitätskonferenz
Mittwoch 08. Oktober 2025 in Münster
20 Jahre Krebsregistrierung für Nordrhein-Westfalen
Eine Erfolgsgeschichte für die onkologische Forschung und Versorgung
Anmeldung: https://www.landeskrebsregister.nrw/5-landesqualitaetskonferenz-nrw/
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.
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel