Skip to content

Commit

Permalink
Don't even try random proxy test
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Jun 7, 2012
1 parent d3fd413 commit a460416
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions R/proxy.r
Expand Up @@ -7,9 +7,7 @@
#' @examples
#' # See http://www.hidemyass.com/proxy-list for a list of public proxies
#' # to test with
#' \donttest{
#' GET("http://had.co.nz", c(use_proxy("64.251.21.73", 8080), verbose()))
#' }
#' # GET("http://had.co.nz", c(use_proxy("64.251.21.73", 8080), verbose()))
use_proxy <- function(url, port = NULL, username = NULL, password = NULL) {
if (!is.null(username) || !is.null(password)) {
proxyuserpwd <- str_c(username, ":", password)
Expand Down
4 changes: 1 addition & 3 deletions man/use_proxy.Rd
Expand Up @@ -17,9 +17,7 @@
\examples{
# See http://www.hidemyass.com/proxy-list for a list of public proxies
# to test with
\donttest{
GET("http://had.co.nz", c(use_proxy("64.251.21.73", 8080), verbose()))
}
# GET("http://had.co.nz", c(use_proxy("64.251.21.73", 8080), verbose()))
}
\seealso{
Other config: \code{\link{accept_json}},
Expand Down

0 comments on commit a460416

Please sign in to comment.