ml_connect: Authenticate in Google and formr

View source: R/connect.R

ml_connectR Documentation

Authenticate in Google and formr

Description

Authenticate in Google and formr

Usage

ml_connect(google_email = NULL)

Arguments

google_email

E-mail used in Google Drive account. If NULL (default), it is assumed to be the same as formr_email.

Details

This function tries to log in to the formr API by trying to retrieve its corresponding key via the keyring package. If no key exists under the name "multilex", the user is prompted to create it first.

Value

Logical. TRUE if Google and formr authentication was successful, FALSE if authentication of any of the two failed.

Examples

my_email <- "gonzalo.garciadecastro@upf.edu"
ml_connect(google_email = my_email)

gongcastro/multilex documentation built on Oct. 21, 2022, 6:24 p.m.