[Rd] add jsslogo.jpg to R sources?

Iñaki Ucar |uc@r @end|ng |rom |edor@project@org
Wed Jan 8 19:44:50 CET 2020


On Wed, 8 Jan 2020 at 19:21, Toby Hocking <tdhock5 using gmail.com> wrote:
>
> Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the
> R sources? (as I reported yesterday in this bug)
>
> https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687
>
> R already includes jss.cls which is the document class file for Journal of
> Statistical Software. Actually, for the jss.cls file to be useful, it also
> requires jsslogo.jpg in order to compile JSS articles without error.
>
> This is an issue for me because I am writing a JSS paper that includes
> figures created using tikzDevice, which I am telling to use the jss class
> for computing metrics. On debian/ubuntu the R-src/share/texmf directory is
> copied to /usr/share/texmf/tex/latex/R, so tikzDevice is finding jss.cls in
> /usr/share/texmf/tex/latex/R/tex/latex/jss.cls but it is failing with a
> 'jsslogo not found' error -- the fix is to also include jsslogo.jpg in the
> R sources (in the same directory as jss.cls).

Why don't you just include jsslogo.jpg in your working directory?
jss.cls is included in the R sources because there are many vignettes
with the JSS style, but always *without* the logo. The logo should
only be used for actual JSS publication, so I think that the R sources
are no place for it.

-- 
Iñaki Úcar



More information about the R-devel mailing list