Skip to content
Prev 11702 / 12125 Next

[R-pkg-devel] Drafting vignettes that require DB connection

Presumably when your code tries to open the database, it will fail with 
an error.  What you should do is catch that error so the vignette 
doesn't fail, and print a message to the user explaining why things 
didn't work.

If you are using knitr, you can call `knitr::knit_exit()`
and it will quit at that point without appearing to fail.

Duncan Murdoch
On 2025-08-18 9:06 a.m., H?sing, Johannes via R-package-devel wrote: