Running 'testthat.R' [66s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > Sys.setenv("R_TESTS" = "")
  > 
  > library(testthat)
  > library(lidR)
  Loading required package: raster
  Loading required package: sp
  > test_check("lidR")
  ERROR: wrong file signature '    '
  ERROR: cannot open lasreaderlas with file name 'D:\temp\RtmpWINkxY\file6a687b6a3978\test_684760_5017770.las'
  Error: LASlib internal error. See message above.
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: 'end-of-file' after 64040 of 73403 points
  proj_create: crs not found
  proj_create: crs not found
  proj_create: crs not found
  proj_create: crs not found
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: 'end-of-file' after 12174 of 30899 points
  ERROR: wrong file signature '    '
  ERROR: cannot open lasreaderlas with file name 'D:\temp\RtmpWINkxY\file6a685d974ea1.las'
  Error: LASlib internal error. See message above.
  ERROR: wrong file signature '    '
  ERROR: cannot open lasreaderlas with file name 'D:\temp\RtmpWINkxY\file6a685d974ea1.las'
  ERROR: cannot open file 'D:\temp\RtmpWINkxY\file6a6846ccf92.las'
  ERROR: cannot open laswriterlas with file name 'D:\temp\RtmpWINkxY\file6a6846ccf92.las'
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: 'end-of-file' after 64040 of 73403 points
  ERROR: cannot open file 'D:\temp\RtmpWINkxY\file6a68107743de.las'
  ERROR: cannot open laswriterlas with file name 'D:\temp\RtmpWINkxY\file6a68107743de.las'
  == Skipped tests ===============================================================
  * On CRAN (25)
  
  == Warnings ====================================================================
  -- Warning (test-grid_terrain.R:128:3): grid_terrain returns the same both with LAScatalog and LAS --
  Raster objects have different extents. Result for their intersection is returned
  Backtrace:
   1. cdtm1 - cdtm2 test-grid_terrain.R:128:2
   2. cdtm1 - cdtm2
  
  Error in saveRDS(problems, "testthat-problems.rds") : 
    error writing to connection
  Calls: test_check ... <Anonymous> -> o_apply -> lapply -> FUN -> <Anonymous> -> saveRDS
  Execution halted