[R-pkg-devel] Vignettes & _R_CHECK_DEPENDS_ONLY_=true

Arne Henningsen @rne@henn|ng@en @end|ng |rom gm@||@com
Thu Jun 9 17:53:18 CEST 2022


Dear all

My R package "systemfit" has a 'vignette' that uses the R packages
"plm" and "sem", while the actual code of the "systemfit" package does
not depend on these two packages. Currently, the "systemfit" package
'Suggests' the "plm" package and the "sem" package. However, CRAN
started to check packages with '_R_CHECK_DEPENDS_ONLY_=true' so that
the checking of the "systemfit" package returns an error message
because the vignette cannot be created without the "plm" and "sem"
packages. I am considering changing the DESCRIPTION file so that the
"systemfit" package will 'Depend' on the "plm" and "sem" packages
(although only the vignette depends on these two packages). Is this
the recommended way to do or is there a better way to make the
"systemfit" package pass the tests at CRAN?

Best wishes,
Arne

-- 
Arne Henningsen
http://www.arne-henningsen.name



More information about the R-package-devel mailing list