DNPLsetup: Function to be run to setup a base configuration for DNPL.

Description Usage Arguments Examples

View source: R/utils.R

Description

This function sets up the user's GitHub credentials and then uses those credentials to configure Rclone and DataTracker. Before using this function, you need to create a GitHub account, create a GitHub access token, and be added to the Lab's GitHub. This function is specific to the DNPL at UPMC.

Usage

1
DNPLsetup(github_uname, github_token, proj_name = NA, use_local_cfg = FALSE)

Arguments

github_uname

Your GitHub username.

github_token

Your GitHub access token.

proj_name

Is the name of your project, this will default to the lab's name if not specified.

use_global_cfg

If you are using a pre-set environment or starting your own based on the config file pulled.

Examples

1
set_github_creds(github_uname=<username>, github_token=<token>)

DecisionNeurosciencePsychopathology/DataTracker documentation built on Jan. 20, 2022, 4:51 p.m.