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

install test cases #38

Closed
cpanse opened this issue Apr 19, 2021 · 0 comments
Closed

install test cases #38

cpanse opened this issue Apr 19, 2021 · 0 comments
Assignees

Comments

@cpanse
Copy link
Collaborator

cpanse commented Apr 19, 2021

runs on fgcz-c-073

TEST CASE 1 - no mono runtime

docker run -a stdin -a stdout -i -t rocker/verse:4.0.5 R
install.packages('http://fgcz-ms.uzh.ch/~cpanse/rawrr_0.99.13_19.tar.gz', repo=NULL)


rawfile <- rawrr::sampleFilePath()

h <- rawrr::readFileHeader(rawfile)
i <- rawrr::readIndex(rawfile)
x <- rawrr::readChromatogram(rawfile=rawfile, type="tic")
s <- rawrr::readSpectrum(rawfile, 1:9)

TEST CASE 2 - runtime installed

docker run -a stdin -a stdout -i -t c95c10872a5d
install.packages('http://fgcz-ms.uzh.ch/~cpanse/rawrr_0.99.13_19.tar.gz', repo=NULL)

rawfile <- rawrr::sampleFilePath()

h <- rawrr::readFileHeader(rawfile)
i <- rawrr::readIndex(rawfile)
x <- rawrr::readChromatogram(rawfile=rawfile, type="tic")
s <- rawrr::readSpectrum(rawfile, 1:9)

Listing of the Dockerfile

FROM rocker/verse:4.0.5
 
RUN apt-get update \
&& sudo apt-get install mono-runtime -y

CMD ["R"]

TEST CASE 3 - msbuild is installed

docker run -a stdin -a stdout -i -t f53000645fca
install.packages('http://fgcz-ms.uzh.ch/~cpanse/rawrr_0.99.13_19.tar.gz', repo=NULL)

rawfile <- rawrr::sampleFilePath()


h <- rawrr::readFileHeader(rawfile)
i <- rawrr::readIndex(rawfile)
x <- rawrr::readChromatogram(rawfile=rawfile, type="tic")
s <- rawrr::readSpectrum(rawfile, 1:9)

Listing of the Dockerfile

FROM rocker/verse:4.0.5
 
RUN apt-get update \
&& sudo apt-get install mono-mcs mono-xbuild -y

CMD ["R"]

TEST CASE 4 - msbuild is installed and MONO_PATH set

docker run -a stdin -a stdout -i -t -v /usr/local/lib/RawFileReader/:/usr/local/lib/RawFileReader/ d6cec6026a70
docker run -i -v /usr/local/lib/RawFileReader/:/usr/local/lib/RawFileReader/ d6cec6026a70 R --no-save << EOF

install.packages('http://fgcz-ms.uzh.ch/~cpanse/rawrr_0.99.13_19.tar.gz', repo=NULL)
Sys.getenv("MONO_PATH")


rawfile <- rawrr::sampleFilePath()

h <- rawrr::readFileHeader(rawfile)
i <- rawrr::readIndex(rawfile)
x <- rawrr::readChromatogram(rawfile=rawfile, type="tic")
s <- rawrr::readSpectrum(rawfile, 1:9)

EOF

Listing of the Dockerfile

FROM rocker/verse:4.0.5
 
RUN apt-get update \
&& sudo apt-get install mono-mcs mono-xbuild -y

CMD ["R"]
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