Description
The names method fails to check for validity of the assignment values. This can be fixed by calling colnames within names. See example below.
df <- suppressWarnings(createDataFrame(iris)) # this is error colnames(df) <- NULL # this should report error names(df) <- NULL