10 lines
212 B
R
Raw Normal View History

2025-01-12 00:52:51 +08:00
.setUp <- function() {}
.tearDown <- function() {}
test.factors <- function()
{
x <- as.factor(c("abc", "abc", "dog", "abc"))
json <- toJSON( x )
checkIdentical( json, "[\"abc\",\"abc\",\"dog\",\"abc\"]" )
}