Skip to content

CRAN packages using texi2dvi in vignettes/Makefile #158

@jarioksa

Description

@jarioksa

Below an email from CRAN:

This concerns packages

HandTill2001 hsdar maSAE vegan

which do as the subject line says. There are number of problems:

a) texi2dvi need not be present. It is an optional install on
Unix-alikes, and MiKTeX on Windows removed it in late 2015.

b) It might be present and not work. The version in texinfo 6.0 uses
bashisms not in POSIX /bin/sh, and that in 6.1 fails when repeated LaTeX
runs are needed (as in hsdar maSAE vegan).

So your usages need correction. Do consider if the Makefile is needed
at all and whether standard mechanisms could be used. If it is needed,
a construction like

$(R_HOME)/bin/Rscript -e "tools::texi2pdf('name.tex', clean = TRUE)"

is more portable. For vegan, which has a .texi file, texi2pdf is
probably needed for that file and should be in SystemRequirements.

Brian D. Ripley, ripley@stats.ox.ac.uk
Emeritus Professor of Applied Statistics, University of Oxford

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions