R/github.R

#' Search GitHub
#' @description Improve your workflow by searching GitHub directly from R console.
#' @param search_terms Search terms encapsulated in " ".
#' @keywords github internet workflow
#' @examples
#' github("ggplot extensions")

#' @export
github <- function(search_terms) {
  message("Opening GitHub search for \"", search_terms, "\" in browser")
  browseURL(paste0("https://github.com/search?q=", URLencode(search_terms)))
}

Try the websearchr package in your browser

Any scripts or data that you put into this service are public.

websearchr documentation built on May 2, 2019, 8:22 a.m.