Skip to content

Commit 4622410

Browse files
committed
workaround for rgeos installation issue
1 parent 3e80b7b commit 4622410

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

inst/docker/Dockerfile.vtest

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,15 @@ RUN R -e "devtools::install_github('brodieG/diffobj@development')"
9393
ENV VDIFFR=true
9494
EXPOSE 3838
9595

96+
# installing rgeos from CRAN is currently broken
97+
# http://r-sig-geo.2731867.n2.nabble.com/Re-Unexpected-configure-error-following-recent-rgeos-release-td7592423.html
98+
RUN R -e "install.packages('rgeos', repos='http://R-Forge.R-project.org', type='source')"
99+
96100
# install any new dependencies, then either manage cases (the default) or run tests
97101
# note the workaround to get docker to run a proper exit status when there are testthat errors
98102
# https://github.com/r-lib/testthat/issues/515#issuecomment-304169376
99103

100-
ENTRYPOINT R -e "devtools::install_deps('/home/plotly', dep = T); \
104+
CMD R -e "devtools::install_deps('/home/plotly', dep = T); \
101105
if (!identical(Sys.getenv('VMODE'), 'ci')) vdiffr::manage_cases('/home/plotly'); \
102106
res <- devtools::test('/home/plotly', reporter='summary'); \
103107
df <- as.data.frame(res); \

0 commit comments

Comments
 (0)