Running ‘testthat.R’ [20m/22m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(mudata2)
  
  Attaching package: 'mudata2'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("mudata2")
  Guessing x columns: depth
  Killed
Running ‘testthat.R’ [30m/37m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(mudata2)
  
  Attaching package: 'mudata2'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("mudata2")
  Guessing x columns: depth
  Replacing types ecclimate/data/dataset/character with ecclimate/data/dataset/a_new_type
  Replacing types ecclimate/data/dataset/character with ecclimate/data/dataset/a_new_type
  Replacing types ecclimate/data/date/datetime with ecclimate/data/date/date
  Converting POSIXt column to UTC
  Converting POSIXt column to UTC
  Converting POSIXt column to UTC
  
   *** caught segfault ***
  address 0x30, cause 'memory not mapped'
Check process probably crashed or hung up for 20 minutes ... killed
Most likely this happened in the example checks (?),
if not, ignore the following last lines of example output:
> write_mudata(kentvillegreenwood, outfile)
Using write_mudata_dir() to write to D:\temp\RtmpIJ9Deg\file2f828304232f0.mudata
> md <- read_mudata(outfile)
Reading from D:/temp/RtmpIJ9Deg/file2f828304232f0.mudata
> unlink(outfile)
> 
> # read/write to JSON
> outfile <- tempfile(fileext = ".json")
> write_mudata(kentvillegreenwood, outfile)
> md <- read_mudata(outfile)
> unlink(outfile)
> 
> 
> 
> 
> ### * <FOOTER>
> ###
> cleanEx()
> options(digits = 7L)
> base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
Time elapsed:  6.33 0.55 6.73 NA NA 
> grDevices::dev.off()
null device 
          1 
> ###
> ### Local variables: ***
> ### mode: outline-minor ***
> ### outline-regexp: "\\(> \\)?### [*]+" ***
> ### End: ***
> quit('no')
======== End of example output (where/before crash/hang up occured ?) ========
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(mudata2)
  
  Attaching package: 'mudata2'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > 
  > test_check("mudata2")
  Guessing x columns: depth
  Reading from D:/temp/RtmpExAET0/file1db784ef84874
  Reading from D:/temp/RtmpExAET0/file1db78480334e
  Error in x$add_result(...) : attempt to apply non-function
  Calls: test_check ... <Anonymous> -> o_apply -> lapply -> FUN -> <Anonymous>
  In addition: There were 50 or more warnings (use warnings() to see the first 50)
  Execution halted