From b780d78fc6e2bd9b4f9532c1aabe31956a3d29eb Mon Sep 17 00:00:00 2001 From: Mark Edmondson Date: Tue, 2 May 2017 23:23:40 +0200 Subject: [PATCH] cran checks --- NEWS.md | 2 +- R/uploadData.R | 6 ++++-- cran-comments.md | 6 +++--- man/bqr_upload_data.Rd | 6 ++++-- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/NEWS.md b/NEWS.md index c19b56b..60ca4cb 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# bigQueryR 0.2.0.9000 +# bigQueryR 0.3.0 * Add support for realtime queries, `useQueryCache = FALSE` * Add support for standard SQL (#21) diff --git a/R/uploadData.R b/R/uploadData.R index b26f72e..56db200 100644 --- a/R/uploadData.R +++ b/R/uploadData.R @@ -34,7 +34,8 @@ #' #' ## custom upload function to ignore quotes and column headers #' f <- function(input, output) { -#' write.table(input, sep = ",", col.names = FALSE, row.names = FALSE, quote = FALSE, file = output, qmethod = "double")} +#' write.table(input, sep = ",", col.names = FALSE, row.names = FALSE, +#' quote = FALSE, file = output, qmethod = "double")} #' #' ## upload files to Google Cloud Storage #' gcs_upload(mtcars, name = "mtcars_test1.csv", object_function = f) @@ -47,7 +48,8 @@ #' bqr_upload_data(projectId = "your-project", #' datasetId = "test", #' tableId = "from_gcs_mtcars", -#' upload_data = c("gs://your-project/mtcars_test1.csv", "gs://your-project/mtcars_test2.csv"), +#' upload_data = c("gs://your-project/mtcars_test1.csv", +#' "gs://your-project/mtcars_test2.csv"), #' schema = user_schema) #' #' diff --git a/cran-comments.md b/cran-comments.md index e56fa8b..f16a457 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,7 +1,7 @@ ## Test environments -* local OS X install, R 3.3.0 -* ubuntu 12.04 (on travis-ci), R 3.3.1 -* win-builder (devel and release) +* local OS X install, R 3.3.2 +* ubuntu 12.04 (on travis-ci), R 3.4.0 +* Windows (on rhub) R 3.4.0 ## R CMD check results diff --git a/man/bqr_upload_data.Rd b/man/bqr_upload_data.Rd index 19653c4..ab0c66e 100644 --- a/man/bqr_upload_data.Rd +++ b/man/bqr_upload_data.Rd @@ -55,7 +55,8 @@ You also need to supply a data schema. Remember that the file should not have a ## custom upload function to ignore quotes and column headers f <- function(input, output) { - write.table(input, sep = ",", col.names = FALSE, row.names = FALSE, quote = FALSE, file = output, qmethod = "double")} + write.table(input, sep = ",", col.names = FALSE, row.names = FALSE, + quote = FALSE, file = output, qmethod = "double")} ## upload files to Google Cloud Storage gcs_upload(mtcars, name = "mtcars_test1.csv", object_function = f) @@ -68,7 +69,8 @@ You also need to supply a data schema. Remember that the file should not have a bqr_upload_data(projectId = "your-project", datasetId = "test", tableId = "from_gcs_mtcars", - upload_data = c("gs://your-project/mtcars_test1.csv", "gs://your-project/mtcars_test2.csv"), + upload_data = c("gs://your-project/mtcars_test1.csv", + "gs://your-project/mtcars_test2.csv"), schema = user_schema)