Skip to content

Commit

Permalink
cran-example-fix #5
Browse files Browse the repository at this point in the history
  • Loading branch information
jessecambon committed Mar 20, 2020
1 parent 5032a23 commit 4f8efb5
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Imports:
httr,
jsonlite,
stringr
RoxygenNote: 6.1.1
RoxygenNote: 7.1.0
Suggests:
knitr,
rmarkdown,
Expand Down
5 changes: 3 additions & 2 deletions R/geocode.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#'
#' @examples
#' \donttest{
#' library(dplyr)
#' sample_addresses %>% geocode(addr)
#'
#' sample_addresses %>% geocode(addr,method='cascade',lat=latitude,long=longitude)
Expand All @@ -31,10 +32,10 @@
#' @importFrom tidyr unnest
#' @importFrom rlang enquo
#' @export
geocode <- function(.tbl,address,method='census',lat=lat,long=long,...) {
geocode <- function(.tbl,address,method='census',lat = lat,long = long,...) {
temp <- NULL # prevents 'no visible binding for global variable' warning

address<- rlang::enquo(address)
address <- rlang::enquo(address)
lat <- rlang::enquo(lat)
long <- rlang::enquo(long)

Expand Down
9 changes: 7 additions & 2 deletions man/geo_census.Rd

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

4 changes: 2 additions & 2 deletions man/geocode.Rd

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

6 changes: 4 additions & 2 deletions man/sample_addresses.Rd

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

0 comments on commit 4f8efb5

Please sign in to comment.