ghSearchRepo: Search for repo on github

Description Usage Arguments Examples

View source: R/ghSearchRepo.R

Description

Search for repo on github

Usage

1
ghSearchRepo(repo, user = NULL, language = "R", only.fullname = TRUE)

Arguments

repo

Character. Name of repo

user

character. If you want to only search for repositories for a specific user.

language

character. If you want to specify a programming language for the repository.

only.fullname

Logical. Should only the full name in the form "user/repo" of the results be returned? If TRUE then only the full_name is returned, if FALSE then the entire JSON is returned as a list.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
# Requires internet connection
ghSearchRepo("pacman")
ghSearchRepo("Dmisc")
ghSearchRepo("ggplot2")

# Get a list of packages by "Dasonk"
ghSearchRepo("", user = "Dasonk")

## End(Not run)

Dasonk/githubSearch documentation built on May 6, 2019, 1:37 p.m.