Skip to content

Commit a660b47

Browse files
committed
Use RSPM binary if it's in the repos
1 parent 0b77162 commit a660b47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ci/scripts/r_deps.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ ${R_BIN} -e "options(warn=2); install.packages('remotes'); remotes::install_cran
4545
# (Temporarily) install DuckDB from source to avoid their Unity builds (though only if we haven't filtered it out of the deps above)
4646
# Remove when there is a DuckDB release > 0.3.1-1
4747
if grep -q "duckdb" DESCRIPTION; then
48-
${R_BIN} -e "remotes::install_github('duckdb/duckdb', subdir = '/tools/rpkg', build = FALSE)"
48+
${R_BIN} -e "if (all(!grepl('packagemanager.rstudio', options('repos')))) { remotes::install_github('duckdb/duckdb', subdir = '/tools/rpkg', build = FALSE) }"
4949
fi
5050

5151
# Separately install the optional/test dependencies but don't error on them,

0 commit comments

Comments
 (0)