2025-01-12 04:36:52 +08:00

10 lines
212 B
R

.setUp <- function() {}
.tearDown <- function() {}
test.factors <- function()
{
x <- as.factor(c("abc", "abc", "dog", "abc"))
json <- toJSON( x )
checkIdentical( json, "[\"abc\",\"abc\",\"dog\",\"abc\"]" )
}