Skip to content

Commit

Permalink
test for #177
Browse files Browse the repository at this point in the history
  • Loading branch information
SymbolixAU committed Sep 17, 2018
1 parent 8557f65 commit 667a10b
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 5 deletions.
5 changes: 3 additions & 2 deletions R/google_places.R
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
#'
#' @inheritSection google_geocode API use and limits
#'
#' @seealso \link{google_place_details}
#' @seealso \link{google_place_details} \link{google_find_place}
#'
#' @examples
#' \dontrun{
Expand Down Expand Up @@ -242,6 +242,8 @@ google_places <- function(
#' \item{Atmosphere - }{price_level, rating}
#' }
#'
#' @seealso \link{google_place_details} \link{google_places}
#'
#' @examples
#' \donttest{
#'
Expand All @@ -263,7 +265,6 @@ google_places <- function(
#' , inputtype = "phonenumber"
#' )
#'
#'
#' }
#'
#' @export
Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
## Release summary

* Updates v2.7.0 to v2.7.1
* fixed [failing CRAN checks](https://cran.r-project.org/web/checks/check_results_googleway.html) in accordance with new Google Places API
* fixed [failing CRAN checks](https://cran.r-project.org/web/checks/check_results_googleway.html) which were caused by the new Google Places API

## Test Environments

Expand Down
4 changes: 3 additions & 1 deletion man/google_find_place.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/google_places.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions tests/manual_tests.R
Original file line number Diff line number Diff line change
Expand Up @@ -779,6 +779,27 @@
# }
# shinyApp(ui, server)

# ## circle clicks
# library(shiny)
#
# ui <- fluidPage(
# google_mapOutput(outputId = "map", height = "800px")
# )
#
# server <- function(input, output){
#
# mapKey <- read.dcf("~/Documents/.googleAPI", fields = "GOOGLE_MAP_KEY")
# output$map <- renderGoogle_map({
# google_map(key = mapKey, event_return_type = "json") %>%
# add_circles(data = tram_stops)
# })
#
# observeEvent(input$map_circle_click, {
# print(input$map_circle_click)
# })
# }
# shinyApp(ui, server)




Expand Down

0 comments on commit 667a10b

Please sign in to comment.