Skip to content

Commit

Permalink
Use devtools to downgrade pkgdown as tmp fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpeters1208 committed Jul 8, 2024
1 parent 4579c68 commit b56f09d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ def rClientSite = Docker.registerDockerTask(project, 'rClientSite') {
runCommand("mkdir -p ${prefix}/src/rdeephaven/docs")
runCommand('''echo "status = tryCatch(" \
" {" \
" install.packages('pkgdown', version='2.0.0', repos='https://cran.r-project.org'); " \
" install.packages('devtools'); " \
" require(devtools); " \
" remove.packages('pkgdown'); " \
" devtools::install_version('pkgdown', version='2.0.0', repos='https://cran.r-project.org'); " \
" 0" \
" }," \
" error=function(e) 1," \
Expand Down
1 change: 0 additions & 1 deletion R/r-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ cd $DH_PREFIX/src/rdeephaven

R --no-save --no-restore <<EOF
library('pkgdown')
sessionInfo()
status = tryCatch(
{
pkgdown::build_site(preview=FALSE)
Expand Down

0 comments on commit b56f09d

Please sign in to comment.