Skip to content

Commit fe6c054

Browse files
committed
tidyverse: Install Rcpp from GitHub
- Rcpp 1.0.13 build error with R 4.4.2 (VECTOR_PTR_RO) - RcppCore/Rcpp#1341
1 parent 9475d27 commit fe6c054

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

plumber/latest.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ RUN apt-get update \
2929
libxml2-dev \
3030
sqlite3 \
3131
zlib1g-dev \
32+
## Rcpp 1.0.13 build error with R 4.4.2 (VECTOR_PTR_RO)
33+
## https://github.com/RcppCore/Rcpp/issues/1341
34+
&& install2.r --error --skipinstalled -n $NCPUS remotes \
35+
&& Rscript -e "remotes::install_github('RcppCore/Rcpp', ref = '3ae789b', upgrade = 'never')" \
3236
## Install plumber
3337
&& install2.r --error --deps TRUE -n $NCPUS plumber \
3438
## Set up endpoint

tidyverse/latest.Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ RUN apt-get update \
2727
libxtst6 \
2828
unixodbc-dev \
2929
&& install2.r --error --skipinstalled -n $NCPUS BiocManager \
30+
## Rcpp 1.0.13 build error with R 4.4.2 (VECTOR_PTR_RO)
31+
## https://github.com/RcppCore/Rcpp/issues/1341
32+
&& install2.r --error --skipinstalled -n $NCPUS remotes \
33+
&& Rscript -e "remotes::install_github('RcppCore/Rcpp', ref = '3ae789b', upgrade = 'never')" \
34+
## Install tidyverse packages
3035
&& install2.r --error --deps TRUE --skipinstalled -n $NCPUS \
3136
tidyverse \
3237
dplyr \

0 commit comments

Comments
 (0)