Não estou conseguindo criar um manual em pdf. Agradeço qualquer dica. Seguem os
erros.
R
CMD check meupacote
tudo ok até:
* checking Rd files ... WARNING
Error : ea1.Rd: non-ASCII input and no declared encoding
Error : pacote-package.Rd: non-ASCII input and no declared encoding
.
.
.
* checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
Warning: /home/emmanuel/pacote/man/pacote-package.Rd:5-7: Some input could not
be re-encoded to ASCII
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
pdflatex is not available
Error in running tools::texi2pdf
You may want to clean up by 'rm -rf /tmp/RtmpRcSLFe/Rd2pdffdc8348000'
Instalou e comprimiu, mas não gera o manual em pdf.
R
CMD INSTALL pacote
OK
R
CMD build pacote
OK
emmanuel@ubuntu:~$ R CMD Rd2dvi --pdf pacote
R CMD Rd2dvi is defunct: use Rd2pdf instead
emmanuel@ubuntu:~$ R CMD Rd2pdf pacote
Hmm ... looks like a package
Converting Rd files to LaTeX
Creating pdf output from LaTeX ...
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'Rd2.tex' failed.
Messages:
sh: /usr/bin/texi2dvi: not found
Output:
Error in running tools::texi2pdf
emmanuel@ubuntu:~$ R CMD Rd2pdf --pdf pacote
Hmm ... looks like a package
Converting Rd files to LaTeX
Creating pdf output from LaTeX ...
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'Rd2.tex' failed.
Messages:
sh: /usr/bin/texi2dvi: not found
Output:
Error in running tools::texi2pdf
_______________________________________________
R-br mailing list
[email protected]
https://listas.inf.ufpr.br/cgi-bin/mailman/listinfo/r-br
Leia o guia de postagem (http://www.leg.ufpr.br/r-br-guia) e forneça código
mínimo reproduzível.