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

Bennett Nicolas n|co|@@@bennett @end|ng |rom @t@t@m@th@ethz@ch
Wed May 5 14:41:03 CEST 2021


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

Does anyone know of a way out of this? Or am I missing something?

Thanks,
Nicolas

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list