powered by
This sets the default value of gitlab_con in a call to gitlab()
gitlab_con
gitlab()
set_gitlab_connection(gitlab_con = NULL, ...)get_gitlab_connection()unset_gitlab_connection()
get_gitlab_connection()
unset_gitlab_connection()
Used for side effects. Set or unset global connection settings.
A function used for GitLab API calls, such as gitlab() or as returned by gl_connection().
gl_connection()
if gitlab_con is NULL, a new connection is created used the parameters is ... using gl_connection()
if (FALSE) { set_gitlab_connection("https://gitlab.com", private_token = Sys.getenv("GITLAB_COM_TOKEN")) }
Run the code above in your browser using DataLab