Running ‘tinytest.R’ [0s/1s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE)) {
  +   tinytest::test_package("maplegend")
  + }
  
  test_comp.R...................    1 tests OK 
  test_comp.R...................    2 tests OK 
  test_comp.R...................    3 tests OK 
  test_comp.R...................    4 tests OK 
  test_comp.R...................    5 tests OK 
  test_comp.R...................    6 tests OK 0.2s
  
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    0 tests    
  test_coords.R.................    1 tests OK 69ms
  
  tests.R.......................    0 tests    
  tests.R.......................    1 tests OK 
  tests.R.......................    2 tests OK 
  tests.R.......................    3 tests OK 
  tests.R.......................    4 tests OK Error in (function (file = if (onefile) "Rplots.pdf" else "Rplot%03d.pdf",  : 
    cannot open file 'Rplots.pdf'
  Calls: <Anonymous> ... eval -> plot -> plot.default -> dev.hold -> <Anonymous>
  Error in grDevices::dev.off() : 
    cannot shut down device 1 (the null device)
  Calls: <Anonymous> -> run_test_dir -> lapply -> FUN -> <Anonymous>
  Execution halted