Running ‘testthat.R’ [150s/231s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [116s/225s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  Error: Test failures
  Execution halted
Namespace in Imports field not imported from: ‘rgdal’
  All declared Imports should be used.
Running ‘testthat.R’ [183s/554s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  Error: Test failures
  Execution halted
Namespace in Imports field not imported from: ‘rgdal’
  All declared Imports should be used.
Running ‘testthat.R’ [172s/264s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [186s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [138s/211s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  Error: Test failures
  Execution halted
Running ‘testthat.R’ [142s/215s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 3 | WARN 0 | SKIP 11 | PASS 566 ]
  Error: Test failures
  Execution halted
installed size is  5.5Mb
  sub-directories of 1Mb or more:
    libs   4.0Mb
Namespace in Imports field not imported from: ‘rgdal’
  All declared Imports should be used.
installed size is  5.3Mb
  sub-directories of 1Mb or more:
    libs   3.8Mb
Namespace in Imports field not imported from: ‘rgdal’
  All declared Imports should be used.
Running 'testthat.R' [195s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (11)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. ──
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  ── Error ('test-superClass.R:142'): terra inputs ───────────────────────────────
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test-superClass.R:142:12
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─RStoolbox::superClass(...)
  
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  Error: Test failures
  Execution halted
installed size is  6.0Mb
  sub-directories of 1Mb or more:
    libs   4.5Mb
Namespace in Imports field not imported from: ‘rgdal’
  All declared Imports should be used.
installed size is  5.3Mb
  sub-directories of 1Mb or more:
    libs   3.8Mb
Namespace in Imports field not imported from: ‘rgdal’
  All declared Imports should be used.
Running 'testthat.R' [195s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  
  == Skipped tests ===============================================================
  * On CRAN (11)
  
  == Failed tests ================================================================
  -- Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. --
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  -- Error ('test-superClass.R:142'): terra inputs -------------------------------
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      x
   1. +-testthat::expect_is(...) at test-superClass.R:142:12
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-RStoolbox::superClass(...)
  
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  Error: Test failures
  Execution halted
Running 'testthat.R' [198s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(RStoolbox) 
  > 
  > Sys.setenv("R_TESTS" = "") ## needed to pass R CMD check: https://github.com/hadley/testthat/issues/144
  > 
  > test_check("RStoolbox")
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  
  == Skipped tests ===============================================================
  * On CRAN (11)
  
  == Failed tests ================================================================
  -- Failure ('test-multicore.R:21'): .paraRasterFun is equal to predict, calc, overlay, Both single and multicore. --
  overlay: multicore not equal to overlay(r, fun = f).
  Attributes: < Component "srs": Lengths (0, 1) differ (string compare on first 0) >
  -- Error ('test-superClass.R:142'): terra inputs -------------------------------
  Error in `superClass(rast(lsat), trainData = poly, nSamples = 50, responseCol = "class", 
      model = "pls", tuneGrid = data.frame(ncomp = 3), tuneLength = 1, 
      trainPartition = 0.7, predict = FALSE)`: img, trainData and valData (if provided) must have the same projection
  Backtrace:
      x
   1. +-testthat::expect_is(...) at test-superClass.R:142:12
   2. | \-testthat::quasi_label(enquo(object), label, arg = "object")
   3. |   \-rlang::eval_bare(expr, quo_get_env(quo))
   4. \-RStoolbox::superClass(...)
  
  [ FAIL 2 | WARN 0 | SKIP 11 | PASS 555 ]
  Error: Test failures
  Execution halted