Skip to content

Commit

Permalink
minor bugfix where no official CRAN repo used
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliot McIntire committed Dec 17, 2024
1 parent c618ccf commit 7886770
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Description: A single key function, 'Require' that makes rerun-tolerant
URL:
https://Require.predictiveecology.org,
https://github.com/PredictiveEcology/Require
Date: 2024-10-23
Version: 1.0.1.9002
Date: 2024-12-17
Version: 1.0.1.9003
Authors@R: c(
person(given = "Eliot J B",
family = "McIntire",
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version 1.0.2
=============

## Bugfixes
* minor
* several minor
* better fails when status is 403 for package dependency checking
* `updatePackages` had 2 minor bugs that prevented some mixtures of necessary updates from being correctly identified.

Expand Down
2 changes: 1 addition & 1 deletion R/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ setLinuxBinaryRepo <- function(binaryLinux = urlForArchivedPkgs,
# grep, x = gsub("https://", "", a$URL), value = TRUE)
insertBefore <- which(lengths(isCRAN) > 0)
repos <- c(repo, currentRepos)
if (insertBefore > 1) {
if (isTRUE(insertBefore > 1)) { # could have no CRAN official mirror
repos <- c(currentRepos[seq(1, insertBefore - 1)] ,
repo,
currentRepos[seq(insertBefore, length(currentRepos))])
Expand Down

0 comments on commit 7886770

Please sign in to comment.