Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ghclass (version 0.1.0)

repo_exists: Check existence of GitHub repository

Description

repo_exists returns TRUE if the github repository exists. The function also prints a message if a repository has been renamed.

Usage

repo_exists(repo, strict = FALSE, verbose = TRUE)

Arguments

repo

Character. Address of repository in "owner/name" format.

strict

Logical. Specifies whether renamed repositories are allowed.

verbose

Logical. Specifies if details on renamed repositories should be printed.

Value

A logical vector

Examples

Run this code
# NOT RUN {
repo_exists(c("rundel/ghclass", "rundel/ghclass_fake"))
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab