Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation testing fails #537

Closed
shug0131 opened this issue Feb 1, 2024 · 1 comment
Closed

installation testing fails #537

shug0131 opened this issue Feb 1, 2024 · 1 comment

Comments

@shug0131
Copy link

shug0131 commented Feb 1, 2024

I'm wanting to carry out the installation testing as described in the manual

https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Testing-a-Unix_002dalike-Installation

I can get past the first step of tools::testInstalledBasic("both"), by modifying the basic install_R_source.R to add a couple of extra lines ( make install-tests ; chmod a+w /usr/local/lib/R/tests/) . See my fork https://github.com/shug0131/rocker-versioned2/blob/master/scripts/install_R_source.sh

But the subsequent two lines fail. Running it on your unaltered image (docker desktop on windows), and my altered one gives the same results.

docker run --rm -ti -e DISABLE_AUTH=true -p 8787:8787 rocker/verse

The then command and output

tools::testInstalledPackages(scope="base")
Testing examples for package ‘base’
Testing examples for package ‘tools’
Testing examples for package ‘utils’
Running vignettes for package ‘utils’
Running ‘Sweave.Rnw’

*** Source Errors ***

File Sweave.R:
Running 'texi2dvi' on 'example-1.tex' failed.
LaTeX errors:
! LaTeX Error: File `grfext.sty' not found.

Type X to quit or to proceed,
or enter new name. (Default extension: sty)

! Emergency stop.
<read *>

l.179 \RequirePackage{grfext}\relax
^^M
! ==> Fatal error occurred, no output PDF file produced!

*** Weave Errors ***

File Sweave.Rnw:
chunk 2
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
Running 'texi2dvi' on 'example-1.tex' failed.
LaTeX errors:
! LaTeX Error: File `grfext.sty' not found.

Type X to quit or to proceed,
or enter new name. (Default extension: sty)

! Emergency stop.
<read *>

l.179 \RequirePackage{grfext}\relax
^^M
! ==> Fatal error occurred, no output PDF file produced!

Testing examples for package ‘grDevices’
Testing examples for package ‘graphics’
Testing examples for package ‘stats’
Running vignettes for package ‘stats’
Running ‘reshape.Rnw’
Testing examples for package ‘datasets’
Testing examples for package ‘methods’
Testing examples for package ‘grid’
Running vignettes for package ‘grid’
Running ‘displaylist.Rnw’
Running ‘frame.Rnw’
Running ‘grid.Rnw’
Running ‘grobs.Rnw’
Running ‘interactive.Rnw’
Running ‘locndimn.Rnw’
Running ‘moveline.Rnw’
Running ‘nonfinite.Rnw’
Running ‘plotexample.Rnw’
Running ‘rotated.Rnw’
Running ‘saveload.Rnw’
Running ‘sharing.Rnw’
Running ‘viewports.Rnw’
Testing examples for package ‘splines’
Testing examples for package ‘stats4’
Testing examples for package ‘tcltk’
Error: testing 'tcltk' failed


Any advice to fix this is very welcome. Thanks Simon

@eitsupi
Copy link
Member

eitsupi commented Feb 1, 2024

You seems opening the issue in the wrong repository.
I think you opened rocker-org/rocker-versioned2#760, so closing this.

@eitsupi eitsupi closed this as not planned Won't fix, can't repro, duplicate, stale Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants