tests/testthat/helper_fstwrite.R

# Convenience method to tests on different versions of the package
# Not used in the CRAN release
fstwriteproxy <- function(x, path, compress = 0, uniform_encoding = TRUE) {
  write_fst(x, path, compress, uniform_encoding)  # use current version of fst package
}


fstreadproxy <- function(path, columns = NULL, from = 1, to = NULL, as_data_table = FALSE) {
  read_fst(path, columns, from, to, as_data_table)
}


fstmetaproxy <- function(path) {
  metadata_fst(path)
}

Try the fst package in your browser

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

fst documentation built on Feb. 8, 2022, 9:06 a.m.