Package: googleAuthR 2.0.2

Erik Grönroos

googleAuthR: Authenticate and Create Google APIs

Create R functions that interact with OAuth2 Google APIs <https://developers.google.com/apis-explorer/> easily, with auto-refresh and Shiny compatibility.

Authors:Mark Edmondson [aut], Erik Grönroos [cre], Jennifer Bryan [ctb], Johann deBoer [ctb], Neal Richardson [ctb], David Kulp [ctb], Joe Cheng [ctb]

googleAuthR_2.0.2.tar.gz
googleAuthR_2.0.2.zip(r-4.5)googleAuthR_2.0.2.zip(r-4.4)googleAuthR_2.0.2.zip(r-4.3)
googleAuthR_2.0.2.tgz(r-4.4-any)googleAuthR_2.0.2.tgz(r-4.3-any)
googleAuthR_2.0.2.tar.gz(r-4.5-noble)googleAuthR_2.0.2.tar.gz(r-4.4-noble)
googleAuthR_2.0.2.tgz(r-4.4-emscripten)googleAuthR_2.0.2.tgz(r-4.3-emscripten)
googleAuthR.pdf |googleAuthR.html
googleAuthR/json (API)
NEWS

# Install 'googleAuthR' in R:
install.packages('googleAuthR', repos = c('https://markedmondson1234.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/markedmondson1234/googleauthr/issues

On CRAN:

apiauthenticationgooglegoogleauthroauth2-flowshiny

12.79 score 175 stars 15 packages 748 scripts 16k downloads 55 exports 21 dependencies

Last updated 6 months agofrom:1d5b65b4f5. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winNOTENov 19 2024
R-4.5-linuxNOTENov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:gar_api_generatorgar_api_keygar_api_pagegar_attach_auto_authgar_authgar_auth_configuregar_auth_servicegar_auto_authgar_batchgar_batch_walkgar_cache_emptygar_cache_get_locgar_cache_setupgar_check_existing_tokengar_create_api_objectsgar_create_api_skeletongar_create_packagegar_deauthgar_debug_parsinggar_discovery_apigar_discovery_apis_listgar_gce_authgar_gce_auth_defaultgar_gce_auth_emailgar_has_tokengar_oauth_appgar_scope_configgar_service_creategar_service_getgar_service_get_rolesgar_service_grant_rolesgar_service_keygar_service_key_listgar_service_listgar_service_provisiongar_set_clientgar_setup_auth_checkgar_setup_auth_keygar_setup_check_sessiongar_setup_clientidgar_setup_edit_renvirongar_setup_env_checkgar_setup_get_authenvgar_setup_menugar_setup_menu_dogar_shiny_authgar_shiny_auth_urlgar_shiny_login_uigar_shiny_uigar_tokengar_token_infogoogleSignIngoogleSignInUIsilent_authskip_if_no_env_auth

Dependencies:askpassassertthatcachemclicurldigestfastmapfsgarglegluehttrjsonlitelifecyclememoisemimeopensslR6rappdirsrlangsyswithr

Advanced Google API building techniques

Rendered fromadvanced-building.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2023-04-11
Started: 2017-10-13

Building your own Google R library

Rendered frombuilding.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2020-04-25
Started: 2016-11-24

Google API Setup

Rendered fromsetup.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2020-12-03
Started: 2016-11-24

Google authentication types for R

Rendered fromgoogle-authentication-types.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-05-20
Started: 2016-11-24

Troubleshooting Authentication

Rendered fromtroubleshooting.Rmdusingknitr::rmarkdownon Nov 19 2024.

Last update: 2024-05-20
Started: 2017-10-20

Readme and manuals

Help Manual

Help pageTopics
googleAuthR data fetch function generatorgar_api_generator
Takes a generated API function and lets you page through resultsgar_api_page
Auto Authentication function for use within .onAttachgar_attach_auto_auth
Authorize 'googleAuthR'gar_auth
Edit and view auth configurationgar_api_key gar_auth_configure gar_oauth_app
JSON service account authenticationgar_auth_service
Perform auto authenticationgar_auto_auth
Turn a list of gar_fetch_functions into batch functionsgar_batch
Walk data through batchesgar_batch_walk
Setup where to put cachegar_cache_empty gar_cache_get_loc gar_cache_setup
Check a token vs optionsgar_check_existing_token
Create the API objects from the Discovery APIgar_create_api_objects
Create an API library skeletongar_create_api_skeleton
Create a Google API packagegar_create_package
Suspend authorizationgar_deauth
Read the diagnostic object returned on API parse errors.gar_debug_parsing
Get meta data details for specified Google APIgar_discovery_api
Get a list of Google API librariesgar_discovery_apis_list
Authenticate on Google Compute Enginegar_gce_auth
Authenticate via gcloud's application-default logingar_gce_auth_default
Get the service email via GCE metadatagar_gce_auth_email
Is there a token on hand?gar_has_token
Create or add scopes to configurationgar_scope_config
Work with service accounts via the APIgar_service_create gar_service_get gar_service_get_roles gar_service_grant_roles gar_service_key gar_service_key_list gar_service_list
Provision a service accountgar_service_provision
Setup the clientId, clientSecret and scopesgar_set_client
Check service key works via environment argumentgar_setup_auth_check
Create a service account for googleCloudRunnergar_setup_auth_key
Check for a client JSONgar_setup_clientid
Setup wizard help - asking users to edit .Renvirongar_setup_check_session gar_setup_edit_renviron
Setup wizard help - check if environment argument is setgar_setup_env_check
Setup wizard helper - add authentication file to .Renvirongar_setup_get_authenv
Setup wizard - introduction helpergar_setup_menu
Setup wizard help - the functions that will execute on different menu optionsgar_setup_menu_do
Create Authentication within Shiny's server.Rgar_shiny_auth
Make a Google Authorisation URL for Shinygar_shiny_auth_url
A login page for Shinygar_shiny_login_ui
Create a Google login before your Shiny UI launchesgar_shiny_ui
Produce configured tokengar_token
Get current token summarygar_token_info
googleAuthR: Easy Authentication with Google OAuth2 APIsgoogleAuthR-package googleAuthR
Google SignIn [Server Module]googleSignIn
Google SignIn [UI Module]googleSignInUI
Silent authsilent_auth
Skip test if not authenticatedskip_if_no_env_auth