lamin_login {laminr} | R Documentation |
Log into LaminDB
Description
Log in as a LaminDB user
Usage
lamin_login(user = NULL, api_key = NULL)
Arguments
user |
Handle for the user to login as |
api_key |
API key for a user |
Details
Depending on the input, one of these commands will be run (in this order):
If
user
is set thenlamin login <user>
Else if
api_key
is set then set theLAMIN_API_KEY
environment variable temporarily withwithr::with_envvar()
and runlamin login
Else if there is a stored user handle run
lamin login <handle>
Else if the
LAMIN_API_KEY
environment variable is set runlamin login
Otherwise, exit with an error
[Package laminr version 1.1.1 Index]