Skip to content

Commit

Permalink
version 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Edmondson authored and cran-robot committed Mar 31, 2017
1 parent 353228f commit 721dfff
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 19 deletions.
6 changes: 3 additions & 3 deletions DESCRIPTION
@@ -1,6 +1,6 @@
Package: googleAuthR
Type: Package
Version: 0.5.0
Version: 0.5.1
Title: Easy Authentication with Google OAuth2 API
Description: Create R functions that interact with OAuth2 Google APIs easily,
with auto-refresh and Shiny compatibility.
Expand All @@ -20,10 +20,10 @@ LazyData: true
VignetteBuilder: knitr
RoxygenNote: 6.0.1
NeedsCompilation: no
Packaged: 2017-03-02 13:40:57 UTC; mark
Packaged: 2017-03-31 09:46:24 UTC; mark
Author: Mark Edmondson [aut, cre],
Jennifer Bryan [ctb],
Johann deBoer [ctb]
Maintainer: Mark Edmondson <m@sunholo.com>
Repository: CRAN
Date/Publication: 2017-03-02 16:14:18
Date/Publication: 2017-03-31 10:11:27 UTC
14 changes: 7 additions & 7 deletions MD5
@@ -1,10 +1,10 @@
db7c8fe7dddab5539cd0fbea685b01d3 *DESCRIPTION
7885a79215c63ee6b7662ad72ca9bed2 *DESCRIPTION
1a7dd189ced65f0849efcebc9c2be3ca *LICENSE
5ebef090a6c55b685b829b7b56f6a2d1 *NAMESPACE
c86edcb262ac48f146fe021138a014be *NEWS.md
64e0d117af37214160a627b9afd98e62 *NEWS.md
53375289a70e1ac3d02d39d200d5936e *R/googleAuthR.R
d38fc21fbb6cfd66ce41213d73fadd8a *R/googleAuthR_auth.R
3217aca4122eeba3e084ad4050b50944 *R/googleAuthR_auto_auth.R
e28def4167861ef7cb0cd22c1058a35f *R/googleAuthR_auto_auth.R
35528ae62afa4459cd6a9071bd2062e1 *R/googleAuthR_batch.R
ef8a08c6fab2de719708bf2c9ccdf116 *R/googleAuthR_discovery.R
f2ef72c2656914d292e8b13be1356401 *R/googleAuthR_discovery_build.R
Expand All @@ -14,14 +14,14 @@ f2ef72c2656914d292e8b13be1356401 *R/googleAuthR_discovery_build.R
d27756771b3eed7682079664a370a48e *R/googleAuthR_options.R
4bd5e8f3a956f83ddb66b31d740a55bf *R/googleAuthR_shiny.R
9a82ba3b602977e4140d1af47beaa911 *R/googleAuthR_utility.R
0cc88f08f3525eeb7b5ae263226f1d2a *README.md
acce269da463c476df0208eea1bd7f7f *README.md
f06d95868bad52faa1d4902e075b4a88 *build/vignette.rds
ef1ce2ecff51b661650446e83449ca2b *inst/doc/building.Rmd
52047443b2989df4c1094b8e147f9fa0 *inst/doc/building.html
d65b66ca64c64a449f6b0391f2dad452 *inst/doc/building.html
6271a7581b249bf4d4a64e86a856a917 *inst/doc/google-authentication-types.Rmd
67aaeacdd4707fb40b9d53a56772c26e *inst/doc/google-authentication-types.html
2139ec080f2adbcaf1988d46e6390bf0 *inst/doc/google-authentication-types.html
63d39d2ab341ce2f9976f79870fde568 *inst/doc/setup.Rmd
291c8dca58b33d91d595f405f2726f5e *inst/doc/setup.html
ceb431901c8dd1a9d9bc3c8926838726 *inst/doc/setup.html
ed95cd1767f9fc4a0f96f74e541e9857 *inst/embed/server.R
8abf6dffaf053622f0e747dd75eefb97 *inst/embed/ui.R
f79fe76c70bdd67eb5f979f79bbe9ce6 *inst/flexdashbord/authDemo.Rmd
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
@@ -1,3 +1,9 @@
# v0.5.1

## Major changes

* Fix bug in `gar_auto_auth` where it expects a file.path not a token object

# v0.5.0

## Major changes
Expand Down
3 changes: 1 addition & 2 deletions R/googleAuthR_auto_auth.R
Expand Up @@ -72,9 +72,8 @@ gar_auto_auth <- function(required_scopes,
} else {
## .httr-oauth file
myMessage("Auto-auth - .httr-oauth", level = 2)
token <- readRDS(auth_file)

out <- gar_auth(token = token)
out <- gar_auth(token = auth_file)

}
} else {
Expand Down
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -24,6 +24,8 @@ This guide is also available at the [googleAuthR website](http://code.markedmond

Here is a list of [available Google APIs](https://developers.google.com/apis-explorer/#p/) to make with this library.
The below libraries are all cross-compatible as they use `googleAuthR` for authentication backend e.g. can use just one OAuth2 login flow and can be used in multi-user Shiny apps.

* [googleComputeEngineR](https://cloudyr.github.io/googleComputeEngineR/) - Google Compute Engine VMs API
* [searchConsoleR](http://code.markedmondson.me/searchConsoleR/) - Search Console API
* [bigQueryR](http://code.markedmondson.me/bigQueryR/) - BigQuery API. Part of the cloudyr project.
* [googleAnalyticsR](http://code.markedmondson.me/googleAnalyticsR/) - Google Analytics API
Expand All @@ -47,12 +49,16 @@ An example shiny app with Google authentication is [deployed to shinyapps.io her

## Install

GoogleAuthR version 0.3.0 is now available on CRAN
googleAuthR is available on CRAN

```r
install.packages("googleAuthR")
```

Check out [News](NEWS.md) to see the features of the development version.

If you want to use the development version on Github, install via:

```r
## load the library or download it if necessary
if(!require(googleAuthR)){
Expand Down
4 changes: 2 additions & 2 deletions inst/doc/building.html
Expand Up @@ -12,7 +12,7 @@

<meta name="author" content="Mark Edmondson" />

<meta name="date" content="2017-03-02" />
<meta name="date" content="2017-03-31" />

<title>Building your own Google R library</title>

Expand Down Expand Up @@ -70,7 +70,7 @@

<h1 class="title toc-ignore">Building your own Google R library</h1>
<h4 class="author"><em>Mark Edmondson</em></h4>
<h4 class="date"><em>2017-03-02</em></h4>
<h4 class="date"><em>2017-03-31</em></h4>



Expand Down
4 changes: 2 additions & 2 deletions inst/doc/google-authentication-types.html
Expand Up @@ -12,7 +12,7 @@

<meta name="author" content="Mark Edmondson" />

<meta name="date" content="2017-03-02" />
<meta name="date" content="2017-03-31" />

<title>Google authentication types for R</title>

Expand Down Expand Up @@ -70,7 +70,7 @@

<h1 class="title toc-ignore">Google authentication types for R</h1>
<h4 class="author"><em>Mark Edmondson</em></h4>
<h4 class="date"><em>2017-03-02</em></h4>
<h4 class="date"><em>2017-03-31</em></h4>



Expand Down
4 changes: 2 additions & 2 deletions inst/doc/setup.html
Expand Up @@ -12,7 +12,7 @@

<meta name="author" content="Mark Edmondson" />

<meta name="date" content="2017-03-02" />
<meta name="date" content="2017-03-31" />

<title>Google API Setup</title>

Expand Down Expand Up @@ -70,7 +70,7 @@

<h1 class="title toc-ignore">Google API Setup</h1>
<h4 class="author"><em>Mark Edmondson</em></h4>
<h4 class="date"><em>2017-03-02</em></h4>
<h4 class="date"><em>2017-03-31</em></h4>



Expand Down

0 comments on commit 721dfff

Please sign in to comment.