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

Roland Fuß ro|@nd@|u@@ @end|ng |rom thuenen@de
Wed Dec 10 10:40:18 CET 2025


Your package seems to import an `sql` function twice, once from dbplyr and once from dplyr. This looks like you are too generous in your NAMESPACE file. You should use `importFrom` and avoid importing all functions from other package namespaces.

----- Ursprüngliche Mail -----
> Von: "Hüsing, Johannes via R-package-devel" <r-package-devel using r-project.org>
> An: r-package-devel using r-project.org
> Gesendet: Dienstag, 9. Dezember 2025 16:02:10
> Betreff: Re: [R-pkg-devel] devtools::check() endless loop

> 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
> 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.
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Duncan Murdoch <murdoch.duncan using gmail.com>
> 
>>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.
> 
> 
> So far I managed to whittle it down zo 1 error, 2 warnings, and 3 notes.
> 
> Topics I may welcome some feedback on:
> 
> * R CMD check does not run from the command line (R does), this is not a biggie
> though, as R CMD check seems to be run as part of devtools::check()
> 
> * "Checking for future timestamps" comes to a pause until a clock server is
> found but rejected for a lack of https protocol
> 
> * How do "Writing R Extensions" and R-pkgs.org relate? Seems to me the main
> difference is the reliance of r-pkgs.org on the usethis package. Speaking of
> this, does a usethis:: function exist which runs @examples in isolation from he
> other checks? The editor fails checking for matched brackets and stuff, so the
> example is the main debugging chore as I cannot seem to run examples without
> devtools::checking the rest.
> 
> * On a related note: browser() seems to be unavailable during running examples,
> correct?
> 
> *  As part of debtools::load_all() I get the Warning: replacing previous import
> 'dbplyr::sql' by 'dplyr::sql' when loading 'staduicc'. I did not invoke sql().
> What am I to infer from this message?
> 
> Thank you very much
> 
> Johannes
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Thünen-Institut für Agrarklimaschutz/
Thünen Institute of Climate-Smart Agriculture

Bundesallee 65
D-38116 Braunschweig, Germany

Tel./Webex: +49 531 25701967

Email: roland.fuss using thuenen.de

Arbeitsgruppe "Emissionsberichterstattung"/
Working group "Emission Inventories"
Email: emissionsinventare using thuenen.de

Das Johann Heinrich von Thünen-Institut, 
Bundesforschungsinstitut für Ländliche Räume, 
Wald und Fischerei – kurz: Thünen-Institut – 
besteht aus 15 Fachinstituten, die über 
sozioökonomische, ökologische und technologische 
Kompetenz verfügen. Das Thünen-Institut betreibt 
Forschung und Politikberatung mit Bezug zu 
ländlichen Räumen, Landwirtschaft, Wald und Fischerei.

The Johann Heinrich von Thünen Institute, 
Federal Research Institute for Rural Areas, 
Forestry and Fisheries – Thünen Institute 
in brief – consists of 15 specialized 
institutes with socioeconomic, ecological 
and technological expertise. The Thünen 
Institute conducts research and policy advice 
related to rural areas, agriculture, forests 
and fisheries.



More information about the R-package-devel mailing list