gh_show_source: Find source code for functions in packages on GitHub

Description Usage Arguments Examples

View source: R/gh_show_source.R

Description

Find source code for functions in packages on GitHub

Usage

1
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

1
2
3
4
5
6
7
## Not run: 
gh_show_source("mutate", "dplyr")

library(dplyr)
gh_show_source(mutate)

## End(Not run)

githubinstall documentation built on May 2, 2019, 4:20 a.m.