set_loopy_user: Set Loopy user

Description Usage Arguments Value

View source: R/loopy_user.R

Description

Stores Loopy API key and URL in .Renviron, creates .Renviron if it doesn't exist.

Usage

1
set_loopy_user(api_key, loopy_origin, renviron_path = Sys.getenv("HOME"))

Arguments

api_key

string Users API key.

loopy_origin

string Loopy URL origin (protocol, subdomain, domain name and port, where applicable); Paths, querys, and parameters are specified in other functions.

renviron_path

string Path where .Renviron is stored. Default is the user's home directory.

Value

Creates (if necessary) and appends user's Loopy API key and URL to user's .Renviron file.


DanCMann/loopyR documentation built on Dec. 17, 2021, 4:02 p.m.