From b34968ed705842c28ff034a2b90e768d96954fec Mon Sep 17 00:00:00 2001 From: Mark Edmondson Date: Fri, 8 Jun 2018 15:18:51 +0200 Subject: [PATCH] CRAN prep --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- R/globals.R | 18 ++++++++++-------- man/bqr_get_global_dataset.Rd | 2 +- man/bqr_get_global_project.Rd | 2 +- man/bqr_global_dataset.Rd | 2 +- man/bqr_global_project.Rd | 2 +- 7 files changed, 17 insertions(+), 15 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 8e25015..2cc5f5e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: bigQueryR Title: Interface with Google BigQuery with Shiny Compatibility -Version: 0.3.2.9000 +Version: 0.4.0 Authors@R: c(person("Mark", "Edmondson",email = "r@sunholo.com", role = c("aut", "cre")), person("Hadley", "Wickham", , "hadley@rstudio.com", role = "ctb") @@ -14,7 +14,7 @@ BugReports: https://github.com/cloudyr/bigQueryR/issues License: MIT + file LICENSE LazyData: TRUE Depends: - R (>= 3.2.0) + R (>= 3.2) Imports: googleAuthR (>= 0.6.2), googleCloudStorageR (>= 0.2.0), diff --git a/NEWS.md b/NEWS.md index 1bf81de..687b839 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# bigQueryR 0.3.2.9000 +# bigQueryR 0.4.0 * support `nullMarker`, `maxBadRecords`, `fieldDelimiter` in upload jobs * Support BigQuery type `DATE` for R class `Date` data.frame columns (BigQuery type `TIMESTAMP` still default for `POSIXct`columns) (#48) diff --git a/R/globals.R b/R/globals.R index 3054424..40b5dd4 100644 --- a/R/globals.R +++ b/R/globals.R @@ -27,10 +27,11 @@ bqr_global_project <- function(project){ } #' @rdname bqr_global_project +#' @inheritParams bqr_global_project #' @export -bq_global_project <- function(...){ +bq_global_project <- function(project){ .Deprecated("bqr_global_project") - bqr_global_project(...) + bqr_global_project(project) } #' Get global project name @@ -57,9 +58,9 @@ bqr_get_global_project <- function(){ #' @rdname bqr_get_global_project #' @export -bq_get_global_project <- function(...){ +bq_get_global_project <- function(){ .Deprecated("bqr_get_global_project") - bqr_get_global_project(...) + bqr_get_global_project() } #' Set global dataset name @@ -88,10 +89,11 @@ bqr_global_dataset <- function(dataset){ } #' @rdname bqr_global_dataset +#' @inheritParams bqr_global_dataset #' @export -bq_global_dataset <- function(...){ +bq_global_dataset <- function(dataset){ .Deprecated("bqr_global_dataset") - bqr_global_dataset(...) + bqr_global_dataset(dataset) } #' Get global dataset name @@ -118,7 +120,7 @@ bqr_get_global_dataset <- function(){ #' @rdname bqr_get_global_dataset #' @export -bq_get_global_dataset <- function(...){ +bq_get_global_dataset <- function(){ .Deprecated("bqr_get_global_dataset") - bqr_get_global_dataset(...) + bqr_get_global_dataset() } \ No newline at end of file diff --git a/man/bqr_get_global_dataset.Rd b/man/bqr_get_global_dataset.Rd index d3fa48c..9ce39df 100644 --- a/man/bqr_get_global_dataset.Rd +++ b/man/bqr_get_global_dataset.Rd @@ -7,7 +7,7 @@ \usage{ bqr_get_global_dataset() -bq_get_global_dataset(...) +bq_get_global_dataset() } \value{ dataset name diff --git a/man/bqr_get_global_project.Rd b/man/bqr_get_global_project.Rd index 1d57a31..4ba51f9 100644 --- a/man/bqr_get_global_project.Rd +++ b/man/bqr_get_global_project.Rd @@ -7,7 +7,7 @@ \usage{ bqr_get_global_project() -bq_get_global_project(...) +bq_get_global_project() } \value{ project name diff --git a/man/bqr_global_dataset.Rd b/man/bqr_global_dataset.Rd index f2356aa..06aa8a4 100644 --- a/man/bqr_global_dataset.Rd +++ b/man/bqr_global_dataset.Rd @@ -7,7 +7,7 @@ \usage{ bqr_global_dataset(dataset) -bq_global_dataset(...) +bq_global_dataset(dataset) } \arguments{ \item{dataset}{dataset name you want this session to use by default, or a dataset object} diff --git a/man/bqr_global_project.Rd b/man/bqr_global_project.Rd index 0e49044..9522793 100644 --- a/man/bqr_global_project.Rd +++ b/man/bqr_global_project.Rd @@ -7,7 +7,7 @@ \usage{ bqr_global_project(project) -bq_global_project(...) +bq_global_project(project) } \arguments{ \item{project}{project name you want this session to use by default, or a project object}