R/utils.R
as_rcdf.Rd
Converts an existing list or compatible object into an object of class `"rcdf"`.
as_rcdf(data)
A list or object to be converted to class `"rcdf"`.
The input object with class set to `"rcdf"`.
my_list <- list(a = 1, b = 2) rcdf_obj <- as_rcdf(my_list) class(rcdf_obj) #> [1] "list" "rcdf"