Setup a GitHub PAT token for use in R

Published: 28 January 2020
on channel: TheCoatlessProfessor
3,245
38

First in a series on how R package creation workflows.

The video provides an overview of:

1. Install R Packages required:

In R
install.packages("devtools")

2. Join GitHub

https://github.com/join

3. Create a new GitHub PAT Token

https://github.com/settings/tokens/new

4. Setting up Renviron file to register the GitHub PAT token under the environment variable GITHUB_TOKEN.

In R
usethis::edit_r_environ()

Within the ~/.Renviron file opened type:

GITHUB_TOKEN="YOUR-PAT-TOKEN-HERE"
GITHUB_PAT="YOUR-PAT-TOKEN-HERE"


Watch video Setup a GitHub PAT token for use in R online without registration, duration hours minute second in high quality. This video was added by user TheCoatlessProfessor 28 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,245 once and liked it 38 people.