-
Notifications
You must be signed in to change notification settings - Fork 182
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
running installation tests #760
Comments
I think I've made progress here. Following the suggestion There maybe a fix that works with fewer latex packages, but I have not looked any further I learnt that tex packages are not always individually installed, and tlmgr may require an input different from the package name. For example For the tc/tk testing It was resolve by also installing the tk lib. So adding in This was found with a little bit of googling around, but is not officially documented anywhere. It seems tk-dev library is not enough. Now the set of installation testing in https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Testing-a-Unix_002dalike-Installation all run successfully. |
Just adding my two cents for anyone interested: It a year ago I tested it, but I made the same tests work after much trial and error, by adding the following lines in the Dockerfile:
I also needed to switch to libblas instead of openBLAS to reliably run the standard tests (see here). |
I've put together a repo that runs through the examples and test, for my fork of Rocker, of the base packages, plus extra R packages I've added to the image. https://github.com/cam-ctu/rocker_uat The results are published to the associated github page https://cam-ctu.github.io/rocker_uat/ Should be adaptable to your own version should you want to provide proof of User acceptance testing (UAT) in a regulated environment, such as a clinical trials unit. |
Container image name
rocker/verse:latest
Container image digest
rocker/verse@sha256:0ac249b2528f1a8914cdf0e09f26c950e152ee11da60230e25da42c44e7481fa
What operating system are you seeing the problem on?
Linux
System information
Docker engine V4.25.1. WIndows
Bug description
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.
How to reproduce this bug?
The text was updated successfully, but these errors were encountered: