Unverified Commit cf69591b authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[R-package] [docs] fix broken plots in pkgdown site (fixes #3276) (#3508)

* [R-package] [docs] fix broken plots in pkgdown site (fixes #3276)

* upgrade CMake
parent c39afb9d
...@@ -240,17 +240,18 @@ def generate_r_docs(app): ...@@ -240,17 +240,18 @@ def generate_r_docs(app):
The application object representing the Sphinx process. The application object representing the Sphinx process.
""" """
commands = """ commands = """
echo 'options(repos = "https://cran.rstudio.com")' > $HOME/.Rprofile /home/docs/.conda/bin/conda create \
/home/docs/.conda/bin/conda create -q -y -n r_env \ -q \
r-base=3.5.1=h1e0a451_2 \ -y \
r-jsonlite=1.5=r351h96ca727_0 \ -c conda-forge \
r-matrix=1.2_14=r351h96ca727_0 \ -n r_env \
r-testthat=2.0.0=r351h29659fb_0 \ cmake=3.18.2=ha30ef3c_0 \
cmake=3.14.0=h52cb24c_0 r-base=4.0.3=hc603457_2 \
/home/docs/.conda/bin/conda install -q -y -n r_env -c conda-forge \ r-data.table=1.13.2=r40h0eb13af_0 \
r-data.table=1.12.8=r35hcdcec82_0 \ r-jsonlite=1.7.1=r40hcdcec82_0 \
r-pkgdown=1.5.1=r35h6115d3f_0 \ r-matrix=1.2_18=r40h7fa42b6_3 \
r-roxygen2=7.1.0=r35h0357c0b_0 r-pkgdown=1.6.1=r40h6115d3f_0 \
r-roxygen2=7.1.1=r40h0357c0b_0
source /home/docs/.conda/bin/activate r_env source /home/docs/.conda/bin/activate r_env
export TAR=/bin/tar export TAR=/bin/tar
cd {0} cd {0}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment