tests/S4.R

# NB: methods _has_ to be attached before data.table in order for methods::as() to
#   find the right dispatch when trying as(x, "IDate"). This might be an R bug, but
#   even running library(methods, pos="package:base") after attaching data.table doesn't work.
library(methods)
library(data.table)
test.data.table(script="S4.Rraw")

Try the data.table package in your browser

Any scripts or data that you put into this service are public.

data.table documentation built on Oct. 10, 2024, 5:07 p.m.