Skip to content

Commit

Permalink
got rid of CRAN note by putting local URL in code blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkEdmondson1234 committed Aug 19, 2015
1 parent 5a65d36 commit 7cdda45
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
21 changes: 7 additions & 14 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Resubmission

* I put the URL subject to a previous NOTE into code markup so it will not be followed.

## Test environments
* local OS X install, R 3.2.2
* ubuntu 12.04 (on travis-ci), R 3.2.2
Expand All @@ -6,24 +10,13 @@
## R CMD check results
There were no ERRORs or WARNINGs.

There were 3 NOTEs:
There were 2 NOTEs:

* Days since last update: 1

A critical run-time error was found and patched. Sorry.
A critical run-time error was found and patched. Sorry.

* checking dependencies in R code ... NOTE
Namespace in Imports field not imported from: 'R6'

R6 is a build-time dependency.

* Found the following (possibly) invalid URLs:
URL: http://127.0.0.1:4624
From: inst/doc/googleAuthR.html
Status: Error
Message: libcurl error code 7
Failed to connect to 127.0.0.1 port 4624: Connection refused


This is a local testing URL for Shiny.
Users select their own port, in this example 4624 was used.
R6 is a build-time dependency.
2 changes: 1 addition & 1 deletion man/Authentication.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
\name{Authentication}
\alias{Authentication}
\title{R6 environment to store authentication credentials}
\format{\preformatted{Class 'R6ClassGenerator' <environment: 0x11c10ed48>
\format{\preformatted{Class 'R6ClassGenerator' <environment: 0x10b913460>
- attr(*, "name")= chr "Authentication_generator"
}}
\usage{
Expand Down
2 changes: 1 addition & 1 deletion vignettes/googleAuthR.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ A non-definitive scope list to choose from will be attempted to be maintained vi
#### For Shiny use
2. Click 'Create a new Client ID', and choose "Web Application".
3. Note your Client ID and secret.
4. Add the URL of where your Shiny app will run, as well as your local host for testing including a port number. e.g. https://mark.shinyapps.io/searchConsoleRDemo/ and http://127.0.0.1:4624
4. Add the URL of where your Shiny app will run, as well as your local host for testing including a port number. e.g. `https://mark.shinyapps.io/searchConsoleRDemo/` and `http://127.0.0.1:4624`
5. In your Shiny script modify these options:
+ `options("googleAuthR.webapp.client_id" = "YOUR_CLIENT_ID")`
+ `options("googleAuthR.webapp.client_secret" = "YOUR_CLIENT_SECRET")`
Expand Down

0 comments on commit 7cdda45

Please sign in to comment.