Skip to content

Commit

Permalink
remove older shiny funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed Jan 28, 2022
1 parent e351682 commit 27f76fa
Show file tree
Hide file tree
Showing 20 changed files with 212 additions and 1,571 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: googleAuthR
Type: Package
Version: 1.4.2
Version: 2.0.0
Title: Authenticate and Create Google APIs
Description: Create R functions that interact with OAuth2 Google APIs
<https://developers.google.com/apis-explorer/> easily,
Expand Down
5 changes: 0 additions & 5 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,10 @@ export(gar_shiny_login_ui)
export(gar_shiny_ui)
export(gar_token)
export(gar_token_info)
export(googleAuth)
export(googleAuthUI)
export(googleAuth_js)
export(googleAuth_jsUI)
export(googleSignIn)
export(googleSignInUI)
export(silent_auth)
export(skip_if_no_env_auth)
export(with_shiny)
import(assertthat)
import(cli)
import(memoise)
Expand Down
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# googleAuthR 1.4.2
# googleAuthR 2.0.0

* Removed `with_shiny()`
* Removed `with_shiny()` and `googleAuth` modules that have been deprecated for a while -use `gar_shiny_*` instead.
* Improved error handling with custom http errors

# googleAuthR 1.4.1
Expand Down
3 changes: 1 addition & 2 deletions R/batch.R
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ gar_batch <- function(function_list,

parsed <- paste(c(parse_list, "--gar_batch--"), collapse="")

l <- list(parsed = parsed,
shiny_access_token = function_list[[1]]$shiny_access_token)
l <- list(parsed = parsed)

## call doHttrRequest with batched together functions
cached_call <- !is.null(gar_cache_get_loc())
Expand Down
2 changes: 0 additions & 2 deletions R/checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ token_exists <- function() {

#' Check API data token
#'
#' @param shiny_access_token auth token
#'
#' @return boolean if it works.
#'
#' @keywords internal
Expand Down
159 changes: 0 additions & 159 deletions R/gadget.R

This file was deleted.

1 change: 0 additions & 1 deletion R/generator.R
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ gar_api_generator <- function(baseURI,
if(any(with_gar_batch)){
## batching
req <- list(req_url = req_url,
shiny_access_token = shiny_access_token,
http_header = http_header,
the_body = the_body,
name = digest(c(req_url, the_body)))
Expand Down
171 changes: 0 additions & 171 deletions R/shiny-auth.R

This file was deleted.

Loading

0 comments on commit 27f76fa

Please sign in to comment.