lamin_login | R Documentation |
Log in as a LaminDB user
lamin_login(user = NULL, api_key = NULL)
user |
Handle for the user to login as |
api_key |
API key for a user |
Depending on the input, one of these commands will be run (in this order):
If user
is set then lamin login <user>
Else if api_key
is set then set the LAMIN_API_KEY
environment variable
temporarily with withr::with_envvar()
and run lamin login
Else if there is a stored user handle run lamin login <handle>
Else if the LAMIN_API_KEY
environment variable is set run lamin login
Otherwise, exit with an error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.