Skip to contents

An easy way to print github code

Usage

as_github_code(url)

Arguments

url

URL from github

Value

Class github_code

Examples

if (FALSE) {
x <- as_github_code("https://github.com/x/y/blob/main/file.txt")
print(x, lines = 3:5)
}