Learn R Programming

githubinstall (version 0.0.1)

gh_show_source: Find source code for functions in packages on GitHub

Description

Find source code for functions in packages on GitHub

Usage

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

Run this code
## Not run: 
# gh_show_source("mutate", "dplyr")
# 
# library(dplyr)
# gh_show_source(mutate)
# ## End(Not run)

Run the code above in your browser using DataLab