R/read_lp.R

Defines functions read_lp

#' Internal function to read files using lightparser,
#' then append tibbles with an additional class
#' @noRd
#' @keywords Internal
read_lp <- function(file){
  x <- lightparser::split_to_tbl(file) 
  initial_class <- class(x)
  class(x) <- c("tbl_lp", initial_class)
  x
}

Try the delma package in your browser

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

delma documentation built on June 8, 2025, 1:56 p.m.