spark-instrumented-optimizer/R/pkg/inst/tests/testthat
actuaryzhang 7bf09433f5 [SPARK-19682][SPARKR] Issue warning (or error) when subset method "[[" takes vector index
## What changes were proposed in this pull request?
The `[[` method is supposed to take a single index and return a column. This is different from base R which takes a vector index.  We should check for this and issue warning or error when vector index is supplied (which is very likely given the behavior in base R).

Currently I'm issuing a warning message and just take the first element of the vector index. We could change this to an error it that's better.

## How was this patch tested?
new tests

Author: actuaryzhang <actuaryzhang10@gmail.com>

Closes #17017 from actuaryzhang/sparkRSubsetter.
2017-02-23 11:12:02 -08:00
..
jarTest.R [SPARK-10683][SPARK-16510][SPARKR] Move SparkR include jar test to SparkSubmitSuite 2016-07-19 19:28:08 -07:00
packageInAJarTest.R [SPARKR][MINOR] R examples and test updates 2016-07-13 13:33:34 -07:00
test_binary_function.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_binaryFile.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_broadcast.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_client.R [MINOR] [SPARKR] Update data-manipulation.R to use native csv reader 2016-05-09 09:58:36 -07:00
test_context.R [SPARK-17577][FOLLOW-UP][SPARKR] SparkR spark.addFile supports adding directory recursively 2016-09-26 16:47:57 -07:00
test_includePackage.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_jvm_api.R [SPARK-16581][SPARKR] Fix JVM API tests in SparkR 2016-08-31 16:56:41 -07:00
test_mllib_classification.R [SPARK-19616][SPARKR] weightCol and aggregationDepth should be improved for some SparkR APIs 2017-02-22 11:50:24 -08:00
test_mllib_clustering.R [SPARK-19319][SPARKR] SparkR Kmeans summary returns error when the cluster size doesn't equal to k 2017-01-31 21:16:37 -08:00
test_mllib_recommendation.R [SPARK-18862][SPARKR][ML] Split SparkR mllib.R into multiple files 2017-01-08 01:10:36 -08:00
test_mllib_regression.R [SPARK-19395][SPARKR] Convert coefficients in summary to matrix 2017-01-31 12:20:43 -08:00
test_mllib_stat.R [SPARK-18862][SPARKR][ML] Split SparkR mllib.R into multiple files 2017-01-08 01:10:36 -08:00
test_mllib_tree.R [SPARK-19066][SPARKR] SparkR LDA doesn't set optimizer correctly 2017-01-16 06:05:59 -08:00
test_parallelize_collect.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_rdd.R [SPARK-19399][SPARKR] Add R coalesce API for DataFrame and Column 2017-02-15 10:45:37 -08:00
test_Serde.R [SPARK-16027][SPARKR] Fix R tests SparkSession init/stop 2016-07-17 19:02:21 -07:00
test_shuffle.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_sparkR.R [SPARK-18444][SPARKR] SparkR running in yarn-cluster mode should not download Spark package. 2016-11-22 00:05:30 -08:00
test_sparkSQL.R [SPARK-19682][SPARKR] Issue warning (or error) when subset method "[[" takes vector index 2017-02-23 11:12:02 -08:00
test_take.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_textFile.R [SPARK-16519][SPARKR] Handle SparkR RDD generics that create warnings in R CMD check 2016-08-16 11:19:18 -07:00
test_utils.R [SPARK-19464][BUILD][HOTFIX] run-tests should use hadoop2.6 2017-02-08 21:28:04 +00:00
test_Windows.R [SPARK-19324][SPARKR] Spark VJM stdout output is getting dropped in SparkR 2017-01-27 12:41:35 -08:00