Gitmaxwell / lastools

‘lastools’ is an R package for reading and writing version 1.2 and version 2.0 Log ASCII Standard (LAS) and for performing common functions on LAS
Other
12 stars 2 forks source link

Setup basic test infrastructure #4

Closed dcslagel closed 4 years ago

dcslagel commented 4 years ago

@Gitmaxwell,

This pull request sets up basic test infrastructure, as described at : https://r-pkgs.org/tests.html.

It has one test to check that read_las will read the example.las in extdata and properly parse the version number. The test passes in my test runs.

The tests can be run with: cd lastools r [r-prompt]>library(devtools) [r-prompt]>devtools::test()

Let me know if this change could be accepted (or rejected) or needs some additional changes before merging.

Thanks,

DC