[R-pkg-devel] DBI namespace not found on check
Dayne Filer
d@yne@|||er @end|ng |rom gm@||@com
Tue Feb 1 18:24:18 CET 2022
Thanks, Dirk!
I apologize — your fist message went to my junk folder so I didn’t see until after my first response. I totally understand re: CRAN requirements. I thought maybe the issue was with how the GitHub actions script was setup, hence moving to r-hub. When they both gave the same answer, I then assumed it was real.
I am also leaning towards adding to suggests and seeing if I can pass checks. It doesn’t detract from the package per se, I just find it odd that it doesn’t get installed, when it’s not MY package that requires it. You can go down the requirement trees (I haven’t done this for every package I import/suggest), but at least knitr -> DBI and S4Vectors -> AnnotationDbi -> DBI. How are these packages being installed during the test check without installing DBI?
Thanks, again!
Dayne
> On Feb 1, 2022, at 10:34 AM, Dirk Eddelbuettel <edd using debian.org> wrote:
>
>
> On 1 February 2022 at 18:14, Ivan Krylov wrote:
> | You might have to depend on DBI explicitly
>
> Good point. That same issue hit me with two little test packages I built on
> the weekend which started with a Imports: RPostgres and Imports: RPostgreSQL
> (trying to compare something here) and when R / R CMD check whined (on the
> simple attempt to connect) I shrugged I just added DBI. Which shouldn't have
> been necessary as DBI gets imported by either but I was in no mood to fight.
>
> Dirk
>
> --
> https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list