[R-pkg-devel] JSS article as package vignette introduces a dependency on R >= 4.0.4

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Thu May 6 08:09:54 CEST 2021



On 05.05.2021 14:41, Bennett  Nicolas wrote:
> Dear all
> 
> First, the underlying problem is explained in rstudio/rticles#399<https://github.com/rstudio/rticles/issues/399> (along with a reproducible example), but I’ll try to summarize the issue:
> 
> As discussed in rstudio/rticles#329<https://github.com/rstudio/rticles/issues/329>, a change in hook management for LaTeX (see this comment<https://github.com/rstudio/rticles/issues/329#issuecomment-705713973>) broke the jss.cls file included with R (share/texmf/tex/latex/jss.cls). This was fixed in R 4.0.4 but as far as I can tell, leaves us with a slightly unsatisfying situation for any R package that include a JSS article as vignette (and is being built with LaTeX newer than fall 2020):
> 
> - either you add a recent copy of jss.cls to the package source and do not build-ignore this file; for this you incur a note saying that “The following files are already in R ... Please remove them from your package.”
> - or the package now depends on R >= 4.0.4
As the package is shipped with the already built vignette, this does not 
induce the version requirement.

Best,
Uwe Ligges

> 
> Does anyone know of a way out of this? Or am I missing something?
> 
> Thanks,
> Nicolas
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>



More information about the R-package-devel mailing list