tests/testthat/test-fullwaveform.R

test_that("interpret waveforn works", {
  skip_on_cran()

  LASfile <- system.file("extdata", "fwf.laz", package="rlas")
  fwf <- readLAS(LASfile)
  expect_error(las <- interpret_waveform(fwf), NA)
  expect_equal(npoints(las), 455168)
})

Try the lidR package in your browser

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

lidR documentation built on Sept. 8, 2023, 5:10 p.m.