Skip to content

Commit 15c5c7e

Browse files
author
hornik
committed
Tweaks for c88832.
git-svn-id: https://svn.r-project.org/R/trunk@88947 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 23cf736 commit 15c5c7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/library/tools/R/urltools.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,11 @@ function(db, remote = TRUE, verbose = FALSE, parallel = FALSE, pool = NULL)
552552
ul)) ||
553553
startsWith(ul, "http://cran.r-project.org") ||
554554
any(startsWith(ul, mirrors) &
555-
(sub("/$", "", ul) != mirrors)))
555+
(sub("/$", "", ul) != mirrors) &
556+
## Need to allow expanions of \manual:
557+
!startsWith(ul, "https://cloud.r-project.org/bin/windows/base/") &
558+
!startsWith(ul, "https://cloud.r-project.org/doc/manuals/")
559+
))
556560
R <- grepl("^http://(www|bugs|journal).r-project.org", ul)
557561
spaces <- grepl(" ", u)
558562
c(if(cran) u else "", if(spaces) u else "", if(R) u else "")

0 commit comments

Comments
 (0)