[R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux

I am trying to check a package using R 3.2.3 on Windows

R cmd check --as-cran pgirmess

but surprisingly, the check get suspended on "checking PDF version of 
manual ..."


* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... OK
* checking PDF version of manual ...

then nothing happens, and the prompt stays on that...

Any idea about what is happening ?

Patrick Giraudoux

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux

Le 31/01/2016 11:37, Patrick Giraudoux a écrit :

I am trying to check a package using R 3.2.3 on Windows

R cmd check --as-cran pgirmess

but surprisingly, the check get suspended on "checking PDF version of 
manual ..."


* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... OK
* checking PDF version of manual ...

then nothing happens, and the prompt stays on that...

Any idea about what is happening ?

Patrick Giraudoux




I am trying to "debug", now exploring  Rd2pdf, and get this:

U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\151104v1.6.3>rcmd 
Rd2pdf

pgirmess
Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata 
at 540 n

ot found
 ==> Fatal error occurred, no output PDF file produced!

Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata 
at 540 n

ot found
 ==> Fatal error occurred, no output PDF file produced!

Error in running tools::texi2pdf()

Looks like there is someting wrong with the call to MIKTEX and a font 
missing. However I did not change anything to the MIKTEX configuration 
(MIKTEK 2.9) which was working OK last time I packaged pgirmess...


Also I can not find out how to download an "ec-inconsolata" fond through 
the MIKTEX package manager


Any advise appreciated.

Cheers,

Patrick

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux

Le 31/01/2016 12:13, Patrick Giraudoux a écrit :

Le 31/01/2016 11:37, Patrick Giraudoux a écrit :

I am trying to check a package using R 3.2.3 on Windows

R cmd check --as-cran pgirmess

but surprisingly, the check get suspended on "checking PDF version of 
manual ..."


* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... OK
* checking PDF version of manual ...

then nothing happens, and the prompt stays on that...

Any idea about what is happening ?

Patrick Giraudoux




I am trying to "debug", now exploring  Rd2pdf, and get this:

U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\151104v1.6.3>rcmd 
Rd2pdf

pgirmess
Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata 
at 540 n

ot found
 ==> Fatal error occurred, no output PDF file produced!

Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata 
at 540 n

ot found
 ==> Fatal error occurred, no output PDF file produced!

Error in running tools::texi2pdf()

Looks like there is someting wrong with the call to MIKTEX and a font 
missing. However I did not change anything to the MIKTEX configuration 
(MIKTEK 2.9) which was working OK last time I packaged pgirmess...


Also I can not find out how to download an "ec-inconsolata" fond 
through the MIKTEX package manager


Any advise appreciated.

Cheers,

Patrick







I have updated all packages of MIKTEX, but with no improvement. I ge the 
same error.


Question: does it comes from the MIKTEX installation (do I re-install 
it) or from rcmd Rd2pdf ?


Any other user having experienced the same problem ?

Patrick

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Brian G. Peterson

The error says:
" Font ec-inconsolata at 540 not found"

So it looks like you need to install extra fonts.  I'm on linux, and 
haven't tried to do that on Windows in years, so I think that's about 
all I can do to help you out.


Regards,

Brian


On 01/31/2016 05:44 AM, Patrick Giraudoux wrote:

Le 31/01/2016 12:13, Patrick Giraudoux a écrit :

Le 31/01/2016 11:37, Patrick Giraudoux a écrit :

I am trying to check a package using R 3.2.3 on Windows

R cmd check --as-cran pgirmess

but surprisingly, the check get suspended on "checking PDF version of
manual ..."

* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... OK
* checking PDF version of manual ...

then nothing happens, and the prompt stays on that...

Any idea about what is happening ?

Patrick Giraudoux




I am trying to "debug", now exploring  Rd2pdf, and get this:

U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\151104v1.6.3>rcmd
Rd2pdf
pgirmess
Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Warning: running command
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"
-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata
at 540 n
ot found
 ==> Fatal error occurred, no output PDF file produced!

Warning: running command
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"
-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata
at 540 n
ot found
 ==> Fatal error occurred, no output PDF file produced!

Error in running tools::texi2pdf()

Looks like there is someting wrong with the call to MIKTEX and a font
missing. However I did not change anything to the MIKTEX configuration
(MIKTEK 2.9) which was working OK last time I packaged pgirmess...

Also I can not find out how to download an "ec-inconsolata" fond
through the MIKTEX package manager

Any advise appreciated.

Cheers,

Patrick







I have updated all packages of MIKTEX, but with no improvement. I ge the
same error.

Question: does it comes from the MIKTEX installation (do I re-install
it) or from rcmd Rd2pdf ?

Any other user having experienced the same problem ?

Patrick

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel




--
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Uwe Ligges
Eitehr the file is no longer there or corrupted, or the database that 
know about the file got corrupted.


For the former, re-instal the package, fr the latter, just go to MikTeX 
settings and run "refresh FNDB" and "Update Formats".


You can also upload the package to the winbuilder service to verify - it 
also uses MikTeX 2.9 ...



Best,
Uwe Ligges



On 31.01.2016 12:13, Patrick Giraudoux wrote:

Le 31/01/2016 11:37, Patrick Giraudoux a écrit :

I am trying to check a package using R 3.2.3 on Windows

R cmd check --as-cran pgirmess

but surprisingly, the check get suspended on "checking PDF version of
manual ..."

* checking data for non-ASCII characters ... OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... OK
* checking PDF version of manual ...

then nothing happens, and the prompt stays on that...

Any idea about what is happening ?

Patrick Giraudoux




I am trying to "debug", now exploring  Rd2pdf, and get this:

U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\151104v1.6.3>rcmd
Rd2pdf
pgirmess
Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Warning: running command
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"
-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata
at 540 n
ot found
  ==> Fatal error occurred, no output PDF file produced!

Warning: running command
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"
-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ec-inconsolata): Font ec-inconsolata
at 540 n
ot found
  ==> Fatal error occurred, no output PDF file produced!

Error in running tools::texi2pdf()

Looks like there is someting wrong with the call to MIKTEX and a font
missing. However I did not change anything to the MIKTEX configuration
(MIKTEK 2.9) which was working OK last time I packaged pgirmess...

Also I can not find out how to download an "ec-inconsolata" fond through
the MIKTEX package manager

Any advise appreciated.

Cheers,

Patrick

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux

Le 31/01/2016 14:36, Uwe Ligges a écrit :
Eitehr the file is no longer there or corrupted, or the database that 
know about the file got corrupted.


For the former, re-instal the package, fr the latter, just go to 
MikTeX settings and run "refresh FNDB" and "Update Formats".


You can also upload the package to the winbuilder service to verify - 
it also uses MikTeX 2.9 ...



Best,
Uwe Ligges



Thanks. Meanwhile I have already reinstalled MikTEX 2.9,  run "refresh 
FNDB" and "Update Formats", and still get a similar error There 
should be something with MikTEX since the package was submitted to CRAN 
and went through successfully (Kurt Hornik).


A bit beyond my understanding...


U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\On work>rcmd 
Rd2pdf pgirmess

Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ts1-zi4r): Font ts1-zi4r at 540 not found
 ==> Fatal error occurred, no output PDF file produced!

Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ts1-zi4r): Font ts1-zi4r at 540 not found
 ==> Fatal error occurred, no output PDF file produced!

Error in running tools::texi2pdf()

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux

Le 31/01/2016 15:22, Patrick Giraudoux a écrit :

Le 31/01/2016 14:36, Uwe Ligges a écrit :
Eitehr the file is no longer there or corrupted, or the database that 
know about the file got corrupted.


For the former, re-instal the package, fr the latter, just go to 
MikTeX settings and run "refresh FNDB" and "Update Formats".


You can also upload the package to the winbuilder service to verify - 
it also uses MikTeX 2.9 ...



Best,
Uwe Ligges



Thanks. Meanwhile I have already reinstalled MikTEX 2.9,  run "refresh 
FNDB" and "Update Formats", and still get a similar error There 
should be something with MikTEX since the package was submitted to 
CRAN and went through successfully (Kurt Hornik).


A bit beyond my understanding...


U:\Users\pgiraudo2\Documents\R\pgir_arch\pgirmess_arch\On work>rcmd 
Rd2pdf pgirmess

Hmm ... looks like a package
Converting Rd files to LaTeX .
Creating pdf output from LaTeX ...
Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ts1-zi4r): Font ts1-zi4r at 540 not 
found

 ==> Fatal error occurred, no output PDF file produced!

Warning: running command 
'"C:\PROGRA~2\MIKTEX~1.9\miktex\bin\texify.exe"  --pdf
"Rd2.tex" --max-iterations=20 -I 
"C:/PROGRA~1/R/R-32~1.3/share/texmf/tex/latex"

-I "C:/PROGRA~1/R/R-32~1.3/share/texmf/bibtex/bst"' had status 1
Error : running 'texi2dvi' on 'Rd2.tex' failed

LaTeX errors:
!pdfTeX error: pdflatex.EXE (file ts1-zi4r): Font ts1-zi4r at 540 not 
found

 ==> Fatal error occurred, no output PDF file produced!

Error in running tools::texi2pdf()



I am closer to the solution. Rd2pdf (and MikTeX) works fine when I am 
running it as administrator. Does not work (with subsequent errors) when 
I run it on my usual user account (with limited rights). Now I remember 
that 2 weeks ago our computer manager has created a new user account on 
my labtop... Suspect some access rights may have been modified by him... 
Will see him tomorow...


Best,

Patrick

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux
Le 31/01/2016 15:58, John Nolan a �crit :
>
> Years ago I had a similar problem.   I had to manually install some 
> font using the MikTex Settings program.  I think I also had to run the 
> administrator version of this, not the regular user version, or the 
> font didn't go in the right folder.   I don't remember details, but 
> perhaps this will help.
>
> John Nolan
> American University
>

Yes thanks; this is true for installing; the standard account does not 
give appropriate warnings and subsequent proposals for MikTeX package 
installation if missing, but does it as administrator. However,  that is 
part of the truth only (;-), now works fine as administrator, but still 
not under usual account (even after having resfreshed FNDB and updated 
formats... following Uwe's instructions, see earlier mails). Suppose 
matter of access rights. Will see that with our computer professionnals 
in the lab tomorow Monday morning...

Will inform the list thenafter in case it may help other users

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] checking PDF version of manual

2016-01-31 Thread Patrick Giraudoux
Le 31/01/2016 16:28, Patrick Giraudoux a �crit :
> Le 31/01/2016 15:58, John Nolan a �crit :
>>
>> Years ago I had a similar problem.   I had to manually install some 
>> font using the MikTex Settings program.  I think I also had to run 
>> the administrator version of this, not the regular user version, or 
>> the font didn't go in the right folder.   I don't remember details, 
>> but perhaps this will help.
>>
>> John Nolan
>> American University
>>
>
> Yes thanks; this is true for installing; the standard account does not 
> give appropriate warnings and subsequent proposals for MikTeX package 
> installation if missing, but does it as administrator. However,  that 
> is part of the truth only (;-), now works fine as administrator, but 
> still not under usual account (even after having resfreshed FNDB and 
> updated formats... following Uwe's instructions, see earlier mails). 
> Suppose matter of access rights. Will see that with our computer 
> professionnals in the lab tomorow Monday morning...
>
> Will inform the list thenafter in case it may help other users


At last found a way round... Actually gave administrator rights to the 
standard account. Then updated using MikTeX update (admin); new files to 
update appeared and these files were then visibly copied somewhere in 
the 'AppData' folder of the standard account; then rcmd Rd2pdf worked... 
Went back to the adminstrator account to give back standard rights to 
the standard account.

Works now !

Looks like there is sometting either weird in the way MiKTeX manages 
installation or weird in the way I manage with MiKTeX.







[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel