Mouse-Imaging-Centre / RMINC

Statistics for MINC volumes: A library to integrate voxel-based statistics for MINC volumes into the R environment. Supports getting and writing of MINC volumes, running voxel-wise linear models, correlations, etc.; correcting for multiple comparisons using the False Discovery Rate, and more. With contributions from Jason Lerch, Chris Hammill, Jim Nikelski and Matthijs van Eede. Some additional information can be found here:
https://mouse-imaging-centre.github.io/RMINC
Other
23 stars 17 forks source link

RMINC install returning FALSE but successful #238

Closed gdevenyi closed 6 years ago

gdevenyi commented 6 years ago

More issues with the VM.....

Everything looks fine, and logging in and testing, RMINC runs...

Any ideas?

    mincvm-virtualbox: + export MINC_PATH=/opt/minc/1.9.16
    mincvm-virtualbox: + MINC_PATH=/opt/minc/1.9.16
    mincvm-virtualbox: + export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
    mincvm-virtualbox: + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
    mincvm-virtualbox: + Rscript --vanilla -
    mincvm-virtualbox: + cat
    mincvm-virtualbox: Downloading package from url: https://github.com/Mouse-Imaging-Centre/RMINC/archive/v1.5.2.1.tar.gz
    mincvm-virtualbox: lmerTest     (NA     -> 3.0-1   ) [CRAN]
    mincvm-virtualbox: manipulat... (NA     -> 0.10.0  ) [CRAN]
    mincvm-virtualbox: miniUI       (NA     -> 0.1.1.1 ) [CRAN]
    mincvm-virtualbox: numDeriv     (NA     -> 2016.8-1) [CRAN]
    mincvm-virtualbox: rgl          (0.99.9 -> 0.99.16 ) [CRAN]
    mincvm-virtualbox: tidyr        (0.8.1  -> 0.8.2   ) [CRAN]
    mincvm-virtualbox: webshot      (NA     -> 0.5.1   ) [CRAN]
    mincvm-virtualbox: Skipping 2 packages ahead of CRAN: BiocInstaller, qvalue
    mincvm-virtualbox: Installing 7 packages: lmerTest, manipulateWidget, miniUI, numDeriv, rgl, tidyr, webshot
    mincvm-virtualbox: Installing packages into '/usr/local/lib/R/site-library'
    mincvm-virtualbox: (as 'lib' is unspecified)
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/lmerTest_3.0-1.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 97064 bytes (94 KB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 94 KB
    mincvm-virtualbox:
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/manipulateWidget_0.10.0.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 3242505 bytes (3.1 MB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 3.1 MB
    mincvm-virtualbox:
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/miniUI_0.1.1.1.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 97958 bytes (95 KB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 95 KB
    mincvm-virtualbox:
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/numDeriv_2016.8-1.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 76303 bytes (74 KB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 74 KB
    mincvm-virtualbox:
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/rgl_0.99.16.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 3058794 bytes (2.9 MB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 2.9 MB
    mincvm-virtualbox:
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/tidyr_0.8.2.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 378735 bytes (369 KB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 369 KB
    mincvm-virtualbox:
    mincvm-virtualbox: trying URL 'http://cloud.r-project.org/src/contrib/webshot_0.5.1.tar.gz'
    mincvm-virtualbox: Content type 'application/x-gzip' length 156828 bytes (153 KB)
    mincvm-virtualbox: ==================================================
    mincvm-virtualbox: downloaded 153 KB
    mincvm-virtualbox:
    mincvm-virtualbox: * installing *source* package 'miniUI' ...
    mincvm-virtualbox: ** package 'miniUI' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (miniUI)
    mincvm-virtualbox: * installing *source* package 'numDeriv' ...
    mincvm-virtualbox: ** package 'numDeriv' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** installing vignettes
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (numDeriv)
    mincvm-virtualbox: * installing *source* package 'tidyr' ...
    mincvm-virtualbox: ** package 'tidyr' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: ** libs
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG  -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RcppExports.cpp -o RcppExports.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG  -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c fill.cpp -o fill.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG  -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c melt.cpp -o melt.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG  -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c simplifyPieces.cpp -o simplifyPieces.o
    mincvm-virtualbox: g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o tidyr.so RcppExports.o fill.o melt.o simplifyPieces.o -L/usr/lib/R/lib -lR
    mincvm-virtualbox: installing to /usr/local/lib/R/site-library/tidyr/libs
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** data
    mincvm-virtualbox: *** moving datasets to lazyload DB
    mincvm-virtualbox: ** demo
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: *** copying figures
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** installing vignettes
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (tidyr)
    mincvm-virtualbox: * installing *source* package 'webshot' ...
    mincvm-virtualbox: ** package 'webshot' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (webshot)
    mincvm-virtualbox: * installing *source* package 'lmerTest' ...
    mincvm-virtualbox: ** package 'lmerTest' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** data
    mincvm-virtualbox: *** moving datasets to lazyload DB
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (lmerTest)
    mincvm-virtualbox: * installing *source* package 'manipulateWidget' ...
    mincvm-virtualbox: ** package 'manipulateWidget' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** installing vignettes
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (manipulateWidget)
    mincvm-virtualbox: * installing *source* package 'rgl' ...
    mincvm-virtualbox: ** package 'rgl' successfully unpacked and MD5 sums checked
    mincvm-virtualbox: checking for gcc... gcc -std=gnu99
    mincvm-virtualbox: checking whether the C compiler works... yes
    mincvm-virtualbox: checking for C compiler default output file name... a.out
    mincvm-virtualbox: checking for suffix of executables...
    mincvm-virtualbox: checking whether we are cross compiling... no
    mincvm-virtualbox: checking for suffix of object files... o
    mincvm-virtualbox: checking whether we are using the GNU C compiler... yes
    mincvm-virtualbox: checking whether gcc -std=gnu99 accepts -g... yes
    mincvm-virtualbox: checking for gcc -std=gnu99 option to accept ISO C89... none needed
    mincvm-virtualbox: checking how to run the C preprocessor... gcc -std=gnu99 -E
    mincvm-virtualbox: checking for gcc... (cached) gcc -std=gnu99
    mincvm-virtualbox: checking whether we are using the GNU C compiler... (cached) yes
    mincvm-virtualbox: checking whether gcc -std=gnu99 accepts -g... (cached) yes
    mincvm-virtualbox: checking for gcc -std=gnu99 option to accept ISO C89... (cached) none needed
    mincvm-virtualbox: checking for libpng-config... yes
    mincvm-virtualbox: configure: using libpng-config
    mincvm-virtualbox: configure: using libpng dynamic linkage
    mincvm-virtualbox: checking for X... libraries , headers
    mincvm-virtualbox: checking GL/gl.h usability... yes
    mincvm-virtualbox: checking GL/gl.h presence... yes
    mincvm-virtualbox: checking for GL/gl.h... yes
    mincvm-virtualbox: checking GL/glu.h usability... yes
    mincvm-virtualbox: checking GL/glu.h presence... yes
    mincvm-virtualbox: checking for GL/glu.h... yes
    mincvm-virtualbox: checking for glEnd in -lGL... yes
    mincvm-virtualbox: checking for gluProject in -lGLU... yes
    mincvm-virtualbox: checking for pkg-config... yes
    mincvm-virtualbox: configure: using Freetype and FTGL
    mincvm-virtualbox: configure: creating ./config.status
    mincvm-virtualbox: config.status: creating src/Makevars
    mincvm-virtualbox: ** libs
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ABCLineSet.cpp -o ABCLineSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c BBoxDeco.cpp -o BBoxDeco.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Background.cpp -o Background.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ClipPlane.cpp -o ClipPlane.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Color.cpp -o Color.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Disposable.cpp -o Disposable.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Light.cpp -o Light.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c LineSet.cpp -o LineSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c LineStripSet.cpp -o LineStripSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Material.cpp -o Material.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c NULLgui.cpp -o NULLgui.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c PlaneSet.cpp -o PlaneSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c PointSet.cpp -o PointSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c PrimitiveSet.cpp -o PrimitiveSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RenderContext.cpp -o RenderContext.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Shape.cpp -o Shape.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c SphereMesh.cpp -o SphereMesh.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c SphereSet.cpp -o SphereSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c SpriteSet.cpp -o SpriteSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c String.cpp -o String.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Surface.cpp -o Surface.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c TextSet.cpp -o TextSet.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Texture.cpp -o Texture.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Viewpoint.cpp -o Viewpoint.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c api.cpp -o api.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c assert.cpp -o assert.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c callbacks.cpp -o callbacks.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c device.cpp -o device.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c devicemanager.cpp -o devicemanager.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c fps.cpp -o fps.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ftgl.cpp -o ftgl.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c geom.cpp -o geom.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c gl2ps.c -o gl2ps.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c glErrors.cpp -o glErrors.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c glgui.cpp -o glgui.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c gui.cpp -o gui.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c init.cpp -o init.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c par3d.cpp -o par3d.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pixmap.cpp -o pixmap.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c platform.cpp -o platform.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext    -fvisibility=hidden -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pretty.c -o pretty.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c render.cpp -o render.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c rglmath.cpp -o rglmath.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c rglview.cpp -o rglview.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c scene.cpp -o scene.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c select.cpp -o select.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c subscene.cpp -o subscene.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c win32gui.cpp -o win32gui.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c win32lib.cpp -o win32lib.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c x11gui.cpp -o x11gui.o
    mincvm-virtualbox: g++  -I"/usr/share/R/include" -DNDEBUG -DHAVE_PNG_H -I/usr/include/libpng16 -DHAVE_FREETYPE -Iext/ftgl -I/usr/include/freetype2 -I/usr/include/libpng16 -Iext     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c x11lib.cpp -o x11lib.o
    mincvm-virtualbox: g++ -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o rgl.so ABCLineSet.o BBoxDeco.o Background.o ClipPlane.o Color.o Disposable.o Light.o LineSet.o LineStripSet.o Material.o NULLgui.o PlaneSet.o PointSet.o PrimitiveSet.o RenderContext.o Shape.o SphereMesh.o SphereSet.o SpriteSet.o String.o Surface.o TextSet.o Texture.o Viewpoint.o api.o assert.o callbacks.o device.o devicemanager.o fps.o ftgl.o geom.o gl2ps.o glErrors.o glgui.o gui.o init.o par3d.o pixmap.o platform.o pretty.o render.o rglmath.o rglview.o scene.o select.o subscene.o win32gui.o win32lib.o x11gui.o x11lib.o -lGLU -lGL -lpng16 -lX11 -lfreetype -L/usr/lib/R/lib -lR
    mincvm-virtualbox: installing to /usr/local/lib/R/site-library/rgl/libs
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** demo
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** installing vignettes
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: Warning in rgl.init(initValue, onlyNULL) :
    mincvm-virtualbox:   RGL: unable to open X11 display
    mincvm-virtualbox: Warning: 'rgl_init' failed, running with rgl.useNULL = TRUE
    mincvm-virtualbox: * DONE (rgl)
    mincvm-virtualbox:
    mincvm-virtualbox: The downloaded source packages are in
    mincvm-virtualbox:  '/tmp/RtmpCTZEqn/downloaded_packages'
    mincvm-virtualbox: v  checking for file '/tmp/RtmpCTZEqn/remotes60f21aa0dbb0/RMINC-1.5.2.1/DESCRIPTION'
    mincvm-virtualbox: -  preparing 'RMINC':
    mincvm-virtualbox: v  checking DESCRIPTION meta-information
    mincvm-virtualbox: -  cleaning src
    mincvm-virtualbox: -  running 'cleanup'
    mincvm-virtualbox: -  checking for LF line-endings in source and make files and shell scripts
    mincvm-virtualbox: -  checking for empty or unneeded directories
    mincvm-virtualbox:    Removed empty directory 'RMINC/etc'
    mincvm-virtualbox: -  looking to see if a 'data/datalist' file should be added
    mincvm-virtualbox: -  building 'RMINC_1.5.2.1.tar.gz'
    mincvm-virtualbox:
    mincvm-virtualbox: Installing package into '/usr/local/lib/R/site-library'
    mincvm-virtualbox: (as 'lib' is unspecified)
    mincvm-virtualbox: * installing *source* package 'RMINC' ...
    mincvm-virtualbox: checking for gcc... gcc
    mincvm-virtualbox: checking whether the C compiler works... yes
    mincvm-virtualbox: checking for C compiler default output file name... a.out
    mincvm-virtualbox: checking for suffix of executables...
    mincvm-virtualbox: checking whether we are cross compiling... no
    mincvm-virtualbox: checking for suffix of object files... o
    mincvm-virtualbox: checking whether we are using the GNU C compiler... yes
    mincvm-virtualbox: checking whether gcc accepts -g... yes
    mincvm-virtualbox: checking for gcc option to accept ISO C89... none needed
    mincvm-virtualbox: checking for g++... g++
    mincvm-virtualbox: checking whether we are using the GNU C++ compiler... yes
    mincvm-virtualbox: checking whether g++ accepts -g... yes
    mincvm-virtualbox: checking how to run the C preprocessor... gcc -E
    mincvm-virtualbox: checking for grep that handles long lines and -e... /bin/grep
    mincvm-virtualbox: checking for egrep... /bin/grep -E
    mincvm-virtualbox: checking for ANSI C header files... yes
    mincvm-virtualbox: checking for sys/types.h... yes
    mincvm-virtualbox: checking for sys/stat.h... yes
    mincvm-virtualbox: checking for stdlib.h... yes
    mincvm-virtualbox: checking for string.h... yes
    mincvm-virtualbox: checking for memory.h... yes
    mincvm-virtualbox: checking for strings.h... yes
    mincvm-virtualbox: checking for inttypes.h... yes
    mincvm-virtualbox: checking for stdint.h... yes
    mincvm-virtualbox: checking for unistd.h... yes
    mincvm-virtualbox: checking for a sed that does not truncate output... /bin/sed
    mincvm-virtualbox: checking for gawk... no
    mincvm-virtualbox: checking for mawk... mawk
    mincvm-virtualbox: checking zlib.h usability... yes
    mincvm-virtualbox: checking zlib.h presence... yes
    mincvm-virtualbox: checking for zlib.h... yes
    mincvm-virtualbox: checking for h5cc... no
    mincvm-virtualbox: checking for h5pcc... no
    mincvm-virtualbox: checking for HDF5 libraries... no
    mincvm-virtualbox: configure: WARNING:
    mincvm-virtualbox: Unable to locate HDF5 compilation helper scripts 'h5cc' or 'h5pcc'.
    mincvm-virtualbox: configure: Searching for libminc
    mincvm-virtualbox: configure: MINC_PATH was specified
    mincvm-virtualbox: Please specify --with-hdf5=<LOCATION> as the full path to h5cc or h5pcc.
    mincvm-virtualbox: HDF5 support is being disabled (equivalent to --with-hdf5=no).
    mincvm-virtualbox:
    mincvm-virtualbox: configure: MINC_PATH set to /opt/minc/1.9.16
    mincvm-virtualbox: configure: override by setting the environment variable MINC_PATH
    mincvm-virtualbox: configure: or by setting --with-build-path as a configure argument
    mincvm-virtualbox: checking for mifree_name in -lminc2... yes
    mincvm-virtualbox: checking for stdbool.h that conforms to C99... yes
    mincvm-virtualbox: checking for _Bool... yes
    mincvm-virtualbox: checking for size_t... yes
    mincvm-virtualbox: checking for error_at_line... yes
    mincvm-virtualbox: checking for stdlib.h... (cached) yes
    mincvm-virtualbox: checking for GNU libc compatible malloc... yes
    mincvm-virtualbox: configure: creating ./config.status
    mincvm-virtualbox: config.status: creating src/Makevars
    mincvm-virtualbox: ** libs
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c RMINC_init.c -o RMINC_init.o
    mincvm-virtualbox: g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c RcppExports.cpp -o RcppExports.o
    mincvm-virtualbox: g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c anat_summaries.cpp -o anat_summaries.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c minc2_read.c -o minc2_read.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c minc2_support.c -o minc2_support.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c minc2_write.c -o minc2_write.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c minc_anova.c -o minc_anova.o
    mincvm-virtualbox: g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c minc_apply.cpp -o minc_apply.o
    mincvm-virtualbox: g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c minc_cpp.cpp -o minc_cpp.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c minc_reader.c -o minc_reader.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c modelling_functions.c -o modelling_functions.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c slice_loop_functions.c -o slice_loop_functions.o
    mincvm-virtualbox: g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c utilities.cpp -o utilities.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c vertex_modelling.c -o vertex_modelling.o
    mincvm-virtualbox: g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c vertex_tfce.cpp -o vertex_tfce.o
    mincvm-virtualbox: gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/opt/minc/1.9.16/include -I"/usr/lib/R/site-library/Rcpp/include"    -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-oNcpyf/r-base-3.5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c weighted_least_squares.c -o weighted_least_squares.o
    mincvm-virtualbox: g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o RMINC.so RMINC_init.o RcppExports.o anat_summaries.o minc2_read.o minc2_support.o minc2_write.o minc_anova.o minc_apply.o minc_cpp.o minc_reader.o modelling_functions.o slice_loop_functions.o utilities.o vertex_modelling.o vertex_tfce.o weighted_least_squares.o -L/opt/minc/1.9.16/lib -Wl,-rpath,/opt/minc/1.9.16/lib -llapack -lblas -lminc2 -lgfortran -lm -lquadmath -L/usr/lib/R/lib -lR
    mincvm-virtualbox: installing to /usr/local/lib/R/site-library/RMINC/libs
    mincvm-virtualbox: ** R
    mincvm-virtualbox: ** inst
    mincvm-virtualbox: ** byte-compile and prepare package for lazy loading
    mincvm-virtualbox: Note: wrong number of arguments to '!='
    mincvm-virtualbox: Note: wrong number of arguments to '!='
    mincvm-virtualbox: Note: wrong number of arguments to '!='
    mincvm-virtualbox: Note: wrong number of arguments to '=='
    mincvm-virtualbox: Note: wrong number of arguments to '=='
    mincvm-virtualbox: ** help
    mincvm-virtualbox: *** installing help indices
    mincvm-virtualbox: ** building package indices
    mincvm-virtualbox: ** testing if installed package can be loaded
    mincvm-virtualbox: * DONE (RMINC)
    mincvm-virtualbox: Error: (install_url("https://github.com/Mouse-Imaging-Centre/RMINC/archive/v1.5.2.1.tar.gz",  .... is not TRUE
    mincvm-virtualbox: Execution halted
==> mincvm-virtualbox: Script exited with non-zero exit status: 1
==> mincvm-virtualbox: Step "StepProvision" failed, aborting...
Build 'mincvm-virtualbox' errored: unexpected EOF
gdevenyi commented 6 years ago

Commands that were running:

cat <<-EOF | Rscript --vanilla -
r = getOption("repos") 
r["CRAN"] = 'http://cloud.r-project.org/'
options(repos = r)
rm(r)
library(devtools)
stopifnot((install_url("$RMINC", dependencies=TRUE, upgrade_dependencies=FALSE)))
stopifnot((install_url("$mni_cortical_statistics", dependencies=TRUE, upgrade_dependencies=FALSE)))
EOF
cfhammill commented 6 years ago

Hmm, the dependencies=TRUE changes the behaviour of install_url, it's trying to install all the dependencies after RMINC, including qvalue which is not available on CRAN. On my machine it can get it from bioconductor no problem, but about the VM. So I can't reproduce.

Can you try unpacking the stopifnot. Then cat or print the return value of install_url, that will hopefully shine some light.

gdevenyi commented 6 years ago

Well, it does install rgl, it can't find X11 since there's no X during the install, but it looks like it makes it past that.

Having said that, I told it not to upgrade dependencies and it did anyways? (RGL was already installed...)

gdevenyi commented 6 years ago

Followup: qvalue is in fact installed via the r-bioc-qvalue debian package

cfhammill commented 6 years ago

Did you try unpacking and checking what it's returning? Is it FALSE, or something else.

> stopifnot("hi")
Error: "hi" is not TRUE
gdevenyi commented 6 years ago

.... they renamed upgrade_dependencies in the new version they just released.

FFS.

gdevenyi commented 6 years ago

https://cran.r-project.org/web/packages/devtools/devtools.pdf

cfhammill commented 6 years ago

Alternatively, just assume it's returning some extra information, not TRUE, then do

res <- install....
if(isFALSE(res)) stop("Couldn't install RMINC")
cfhammill commented 6 years ago

lol, so now it does what you wanted it to do before, failing with an error if it can't install. It silently returns the package name on success.

gdevenyi commented 6 years ago

Your isFalse wrapper seems to get things passing properly.

I guess stopifnot was too aggressive :)

Thanks.

cfhammill commented 6 years ago

I actually don't think it's needed anymore, if install_url throws an error on failure, there is no need to check the return code.

gdevenyi commented 6 years ago

Its not clear from the devtools NEWS that it does that...

cfhammill commented 6 years ago

it is reasonably clear from the code ;)

cfhammill commented 6 years ago

https://github.com/r-lib/remotes/blob/master/R/install.R#L32

and

https://github.com/r-lib/remotes/blob/master/R/install.R#L60