Find source code for functions in packages on GitHub

gh_show_source(func, repo = NULL, browser = getOption("browser"))

Arguments

func
a function or a character string. A function name.
repo
a character string. A GitHub repository name that must not be exactry.
browser
a character string giving the name of the program to be used as the HTML browser.

Examples

## Not run: ------------------------------------ # gh_show_source("mutate", "dplyr") # # library(dplyr) # gh_show_source(mutate) ## ---------------------------------------------