Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vapour)
  > 
  > test_check("vapour")
  
   *** caught segfault ***
  address 0x55, cause 'memory not mapped'
  
  Traceback:
   1: raster_gdalinfo_app_cpp(x, options)
   2: gdalinfo_internal(x[1L], json = TRUE, stats = min_max, sd = sd,     ...)
   3: vapour_raster_info(f)
   4: eval(code, test_env)
   5: eval(code, test_env)
   6: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
   7: doTryCatch(return(expr), name, parentenv, handler)
   8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
   9: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  10: doTryCatch(return(expr), name, parentenv, handler)
  11: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  12: tryCatchList(expr, classes, parentenv, handlers)
  13: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  14: test_code(desc, code, env = parent.frame(), default_reporter = local_interactive_reporter())
  15: test_that("with with no source crs works", {    f <- system.file("extdata/volcano.png", package = "vapour",         mustWork = TRUE)    info <- vapour_raster_info(f)    ok <- vapour_warp_raster(f, dimension = info$dimension, extent = c(0,         1, 0, 1), transformation_options = c("SRC_METHOD=NO_GEOTRANSFORM"))    if (dir.exists("/rdsi/PUBLIC/raad/data/www.ncei.noaa.gov")) {        sds <- "NETCDF:/rdsi/PUBLIC/raad/data/www.ncei.noaa.gov/data/sea-surface-temperature-optimum-interpolation/v2.1/access/avhrr/198109/oisst-avhrr-v02r01.19810901.nc:sst"        expect_silent(vapour_warp_raster(sds, extent = c(0, 1,             0, 1), dimension = c(4, 4)))        expect_silent(vapour_warp_raster(sds, extent = c(0, 1,             0, 1), dimension = c(4, 4), source_projection = "+proj=laea"))        expect_warning(vapour_warp_raster(sds, extent = c(0,             1, 0, 1), dimension = c(4, 4), projection = "OGC:CRS84"))    }    badnc <- system.file("extdata/gdal", "bad_netcdf_geoloc_arrays.nc",         package = "vapour")    sds <- vapour_sds_names(badnc)    lcc <- "+proj=lcc +lat_0=-30 +lon_0=134.33 +lat_1=-50 +lat_2=-10 +R=6378137"    ex <- c(-3077504, 3968504, -2763621, 3472383)    vrt <- vapour_vrt(sds[3], geolocation = sds[2:1], bands = 1)    info <- vapour_raster_info(vrt)    expect_warning(im <- vapour_warp_raster_dbl(vrt, extent = ex,         dimension = info$dimension, projection = lcc, transformation_options = c("SRC_METHOD=NO_GEOTRANSFORM")))    ex <- c(-180, 180, -90, 90)    dm <- c(512, 1024)    vrt <- vapour_vrt(sds[3], geolocation = sds[2:1], bands = 1)    vapour::vapour_set_config("GDAL_NETCDF_BOTTOMUP", "NO")    expect_warning(im <- vapour_warp_raster_dbl(vrt, extent = ex,         dimension = dm, projection = "OGC:CRS84", transformation_options = c("SRC_METHOD=GEOLOC_ARRAY")))})
  16: eval(code, test_env)
  17: eval(code, test_env)
  18: withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error)
  19: doTryCatch(return(expr), name, parentenv, handler)
  20: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  21: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  22: doTryCatch(return(expr), name, parentenv, handler)
  23: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]),     names[nh], parentenv, handlers[[nh]])
  24: tryCatchList(expr, classes, parentenv, handlers)
  25: tryCatch(withCallingHandlers({    eval(code, test_env)    if (!handled && !is.null(test)) {        skip_empty()    }}, expectation = handle_expectation, skip = handle_skip, warning = handle_warning,     message = handle_message, error = handle_error), error = handle_fatal,     skip = function(e) {    })
  26: test_code(test = NULL, code = exprs, env = env, default_reporter = StopReporter$new())
  27: source_file(path, env = env(env), desc = desc, error_call = error_call)
  28: FUN(X[[i]], ...)
  29: lapply(test_paths, test_one_file, env = env, desc = desc, error_call = error_call)
  30: doTryCatch(return(expr), name, parentenv, handler)
  31: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  32: tryCatchList(expr, classes, parentenv, handlers)
  33: tryCatch(code, testthat_abort_reporter = function(cnd) {    cat(conditionMessage(cnd), "\n")    NULL})
  34: with_reporter(reporters$multi, lapply(test_paths, test_one_file,     env = env, desc = desc, error_call = error_call))
  35: test_files_serial(test_dir = test_dir, test_package = test_package,     test_paths = test_paths, load_helpers = load_helpers, reporter = reporter,     env = env, stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     desc = desc, load_package = load_package, error_call = error_call)
  36: test_files(test_dir = path, test_paths = test_paths, test_package = package,     reporter = reporter, load_helpers = load_helpers, env = env,     stop_on_failure = stop_on_failure, stop_on_warning = stop_on_warning,     load_package = load_package, parallel = parallel)
  37: test_dir("testthat", package = package, reporter = reporter,     ..., load_package = "installed")
  38: test_check("vapour")
  An irrecoverable exception occurred. R is aborting now ...
  Segmentation fault