diff --git a/DESCRIPTION b/DESCRIPTION index 1188607..80a7951 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: googleAuthR Type: Package -Version: 0.8.0.9000 +Version: 0.8.1 Title: Authenticate and Create Google APIs Description: Create R functions that interact with OAuth2 Google APIs easily, @@ -38,7 +38,7 @@ Suggests: roxygen2 (>= 5.0.0), shiny (>= 0.13.2), testthat, - usethis, + usethis (>= 1.5.1) License: MIT + file LICENSE LazyData: true VignetteBuilder: knitr diff --git a/NEWS.md b/NEWS.md index 6eb7976..481d1af 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,4 @@ -# googleAuthR v0.8.0.9000 - -* ... +# googleAuthR v0.8.1 * Depend on usethis for `create_package()` and `use_github()` as they are removed in devtools 2.1.0 (@jimhester, #150). diff --git a/R/discovery.R b/R/discovery.R index 2d61a9d..85dcdb8 100644 --- a/R/discovery.R +++ b/R/discovery.R @@ -2,8 +2,8 @@ #' #' @param api_json json from \link{gar_discovery_api} #' @param directory Where to build the package -#' @param rstudio Passed to \link[usethis]{create}, creates RStudio project file -#' @param check Perform a \link[usethis]{check} on the package once done +#' @param rstudio Passed to \link[usethis]{create_package}, creates RStudio project file +#' @param check Perform a \link[devtools]{check} on the package once done #' @param github If TRUE will upload package to your github #' @param format If TRUE will use \link[formatR]{tidy_eval} on content #' @param overwrite Whether to overwrite an existing directory if it exists diff --git a/cran-comments.md b/cran-comments.md index f755651..05517cc 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -5,7 +5,9 @@ ## R CMD check results -This is the second attempt for 0.8.0. I have corrected the URLs as pointed out by Uwe earlier. +This is the first attempt for 0.8.1. + +I have corrected the WARNINGS that have appeared from the devtools removing some functions to usethis. There were no ERRORs or WARNINGs. diff --git a/man/gar_create_package.Rd b/man/gar_create_package.Rd index f8069d0..d9b94e8 100644 --- a/man/gar_create_package.Rd +++ b/man/gar_create_package.Rd @@ -12,7 +12,7 @@ gar_create_package(api_json, directory, rstudio = TRUE, check = TRUE, \item{directory}{Where to build the package} -\item{rstudio}{Passed to \link[devtools]{create}, creates RStudio project file} +\item{rstudio}{Passed to \link[usethis]{create_package}, creates RStudio project file} \item{check}{Perform a \link[devtools]{check} on the package once done} @@ -29,9 +29,9 @@ If check is TRUE, the results of the CRAN check, else FALSE Create a Google API package } \details{ -For github upload to work you need to have your github PAT setup. See \link[devtools]{use_github}. +For github upload to work you need to have your github PAT setup. See \link[usethis]{use_github}. -Uses devtools' \link[devtools]{create} to create a package structure then +Uses usethis' \link[usethis]{usethis} to create a package structure then \link{gar_create_api_skeleton} and \link{gar_create_api_objects} to create starting files for a Google API package. }