aboutsummaryrefslogtreecommitdiff
path: root/R/pkg/inst/tests/testthat/test_sparkSQL.R
diff options
context:
space:
mode:
authorFelix Cheung <felixcheung_m@hotmail.com>2016-10-23 10:53:27 -0700
committerFelix Cheung <felixcheung@apache.org>2016-10-23 10:53:43 -0700
commit3a423f5a0373de87ddfb4744852b2fda14fcc3cb (patch)
tree0f54d2cec6ccd2ed6945c4632e3e84191d34151e /R/pkg/inst/tests/testthat/test_sparkSQL.R
parenta81fba048fabcd413730548ab65955802508d4e4 (diff)
downloadspark-3a423f5a0373de87ddfb4744852b2fda14fcc3cb.tar.gz
spark-3a423f5a0373de87ddfb4744852b2fda14fcc3cb.tar.bz2
spark-3a423f5a0373de87ddfb4744852b2fda14fcc3cb.zip
[SPARKR][BRANCH-2.0] R merge API doc and example fix
## What changes were proposed in this pull request? Fixes for R doc ## How was this patch tested? N/A Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #15589 from felixcheung/rdocmergefix. (cherry picked from commit 0e0d83a597885ab1773cb69d6dcc10346d6976a3) Signed-off-by: Felix Cheung <felixcheung@apache.org>
Diffstat (limited to 'R/pkg/inst/tests/testthat/test_sparkSQL.R')
-rw-r--r--R/pkg/inst/tests/testthat/test_sparkSQL.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/pkg/inst/tests/testthat/test_sparkSQL.R b/R/pkg/inst/tests/testthat/test_sparkSQL.R
index b4b43fdba4..e77dbde44e 100644
--- a/R/pkg/inst/tests/testthat/test_sparkSQL.R
+++ b/R/pkg/inst/tests/testthat/test_sparkSQL.R
@@ -845,7 +845,7 @@ test_that("names() colnames() set the column names", {
expect_equal(names(df)[1], "col3")
expect_error(colnames(df) <- c("sepal.length", "sepal_width"),
- "Colum names cannot contain the '.' symbol.")
+ "Column names cannot contain the '.' symbol.")
expect_error(colnames(df) <- c(1, 2), "Invalid column names.")
expect_error(colnames(df) <- c("a"),
"Column names must have the same length as the number of columns in the dataset.")