Learn R Programming

githubinstall (version 0.2.2)

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)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab