Skip to content

Conversation

@pat-s
Copy link
Member

@pat-s pat-s commented Jul 10, 2025

Current CRAN check results

  • Checked on 2025-07-10, problems found: https://cran.r-project.org/web/checks/check_results_mlr3spatiotempcv.html

  • ERROR: r-devel-linux-x86_64-debian-clang
    Running ‘testthat.R’ [132s/61s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
  • ERROR: r-devel-linux-x86_64-debian-gcc
    Running ‘testthat.R’ [79s/41s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
  • ERROR: r-devel-linux-x86_64-fedora-clang
    Running ‘testthat.R’ [193s/245s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
  • ERROR: r-devel-linux-x86_64-fedora-gcc
    Running ‘testthat.R’ [182s/126s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 23 | PASS 1211 ]

    ══ Skipped tests (23) ══════════════════════════════════════════════════════════
    • On CRAN (20): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3', 'test-mlr3pipelines-graph-integration.R:5:3'
    • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
    5.     └─mlr3 (local) `<fn>`(...)
      

    [ FAIL 1 | WARN 46 | SKIP 23 | PASS 1211 ]
    Deleting unused snaps

  • ERROR: r-devel-windows-x86_64
    Running 'testthat.R' [53s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Windows (2): 'test-2-autoplot.R:9:3', 'test-2-autoplot.R:55:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
    5.     └─m
      
  • ERROR: r-patched-linux-x86_64
    Running ‘testthat.R’ [106s/56s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
  • ERROR: r-release-linux-x86_64
    Running ‘testthat.R’ [110s/59s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Linux (2): 'test-2-autoplot.R:8:3', 'test-2-autoplot.R:54:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
  • ERROR: r-release-windows-x86_64
    Running 'testthat.R' [54s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Windows (2): 'test-2-autoplot.R:9:3', 'test-2-autoplot.R:55:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
    5.     └─m
      
  • ERROR: r-oldrel-windows-x86_64
    Running 'testthat.R' [76s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:

    if (requireNamespace("testthat", quietly = TRUE)) {

    • library("checkmate")
    • library("testthat")
    • library("mlr3spatiotempcv")
    • test_check("mlr3spatiotempcv")
    • }
      Loading required package: mlr3
      Starting 2 test processes
      [ FAIL 1 | WARN 46 | SKIP 24 | PASS 1206 ]

    ══ Skipped tests (24) ══════════════════════════════════════════════════════════
    • On CRAN (19): 'test-1-autoplot.R:40:3', 'test-1-autoplot.R:72:3',
    'test-1-autoplot.R:98:3', 'test-1-autoplot.R:130:3',
    'test-1-autoplot.R:157:3', 'test-1-autoplot.R:189:3',
    'test-1-autoplot.R:224:3', 'test-1-autoplot.R:257:3',
    'test-1-autoplot.R:268:3', 'test-1-autoplot.R:315:3',
    'test-1-autoplot.R:343:3', 'test-1-autoplot.R:377:3',
    'test-2-autoplot.R:129:3', 'test-2-autoplot.R:182:3',
    'test-2-autoplot.R:204:3', 'test-2-autoplot.R:246:3',
    'test-2-autoplot.R:300:3', 'test-2-autoplot.R:352:3',
    'test-autoplot_buffer.R:19:3'
    • On Windows (2): 'test-2-autoplot.R:9:3', 'test-2-autoplot.R:55:3'
    • empty test (1): 'test-helper-DataBackend.R:1:1'
    • {raster} is not installed (1): 'test-mlr3pipelines-graph-integration.R:4:3'
    • {skmeans} is not installed (1): 'test-mlr_sptcv_generic.R:70:3'

    ══ Failed tests ════════════════════════════════════════════════════════════════
    ── Error ('test-autotuner.R:38:3'): AutoTuner works with sptcv methods ─────────
    Error in if (resampling$task_row_hash != task$row_hash) { stopf("Resampling '%s' is not instantiated on task '%s'", resampling$id, task$id) }: missing value where TRUE/FALSE needed
    Backtrace:

    1. └─mlr3::benchmark(grid) at test-autotuner.R:38:3
    2. └─mlr3misc::pmap_dtr(...)
    3. └─mlr3misc:::mapply_list(.f, .x, list(...))
      
    4.   └─base::.mapply(.f, .dots, .args)
      
    5.     └─m
      

Check results at: https://cran.r-project.org/web/checks/check_results_mlr3spatiotempcv.html

Action items

  • Review PR
  • Await successful CI/CD run
  • Run fledge::release()
  • When the package is accepted on CRAN, run fledge::post_release()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants