-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix baseURL for phantomjs #22
Conversation
#' other sites functional at that time. | ||
#' @return \code{NULL} (the executable is written to a system directory). | ||
#' @export | ||
install_phantomjs <- function(version = '2.1.1', | ||
baseURL = 'https://bitbucket.org/ariya/phantomjs/downloads/') { | ||
if (substr(baseURL, start=nchar(baseURL), stop=nchar(baseURL))!='/') baseURL <- paste0(baseURL,"/",sep="") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be a bit cleaner to do:
if (!grepl("/$", baseURL))
baseURL <- paste0(baseURL, "/")
If you're using RStudio, you can automatically wrap the comment text at 80 characters by pressing Ctrl-Shift-/ (or Cmd-Shift-/ on Mac), which would keep it consistent with the other text. |
Thanks! |
The alternate URL still doesn't work:
|
it refuses to work for me (CRAN version and Github version)
on a Win10 hosted VM:
|
@petermeissner Can you file a new issue for this? |
No description provided.