Skip to content

Commit

Permalink
Merge pull request #3266 from infotroph/roxygen-from-cran
Browse files Browse the repository at this point in the history
[build] Makefile: Install fixed roxygen version from CRAN archive instead of github tag
  • Loading branch information
mdietze authored Feb 27, 2024
2 parents fef3a49 + a099011 commit 48a3b25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ clean:
+ ./scripts/time.sh "roxygen2 ${1}" Rscript -e ${SETROPTIONS} \
-e "if (!requireNamespace('roxygen2', quietly = TRUE)" \
-e " || packageVersion('roxygen2') != '7.2.3') {" \
-e " devtools::install_github('r-lib/[email protected]')" \
-e " cran <- c(getOption('repos'), 'cloud.r-project.org')" \
-e " remotes::install_version('roxygen2', '7.2.3', repos = cran, upgrade = FALSE)" \
-e "}"
$(eval INSTALLED_ROXYGEN_VERSION := 7.2.3)
echo `date` > $@
Expand Down

0 comments on commit 48a3b25

Please sign in to comment.