Skip to content

Commit

Permalink
Merge pull request #36 from INWTlab/fix-34_remove_mran_check
Browse files Browse the repository at this point in the history
#34 removed mran check
  • Loading branch information
miraKlein authored Feb 20, 2024
2 parents bc90733 + d8fc757 commit 00caf87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion r-base/validate-settings.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ local({
cat("Detected local .Rprofile. This is potentially messing up the local config:\n")
cat("MRAN:", reposRemote <- getOption("repos")["CRAN"], "\n")
cat("LOCAL:", reposLocal <- getOption("repos")["LOCAL"], "\n")
if (!grepl("mran", reposRemote)) stop("The remote repository has to be versioned!")
if (!grepl("r-repo", reposLocal)) warning("Local repos is not set correctly.")
} else if (!is.null(repos <- getOption("repos"))) {
ind <- lapply(repos, function(r) {
Expand Down

0 comments on commit 00caf87

Please sign in to comment.