CRAN Package Check Results for Package dtwSat

Last updated on 2023-10-31 07:03:30 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 16.58 191.52 208.10 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.0 11.26 149.66 160.92 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 253.06 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 258.78 OK
r-devel-windows-x86_64 1.0.0 15.00 144.00 159.00 OK --no-vignettes
r-patched-linux-x86_64 1.0.0 12.74 179.18 191.92 ERROR
r-release-linux-x86_64 1.0.0 16.03 182.91 198.94 ERROR
r-release-macos-arm64 1.0.0 74.00 OK
r-release-macos-x86_64 1.0.0 204.00 OK
r-release-windows-x86_64 1.0.0 17.00 167.00 184.00 OK --no-vignettes
r-oldrel-macos-arm64 1.0.0 68.00 ERROR
r-oldrel-macos-x86_64 1.0.0 79.00 ERROR
r-oldrel-windows-x86_64 1.0.0 15.00 175.00 190.00 OK --no-vignettes

Check Details

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [41s/50s]
    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/testing-design.html#sec-tests-files-overview
     > # * https://testthat.r-lib.org/articles/special-files.html
     >
     > library(testthat)
     > library(dtwSat)
     Loading required package: twdtw
     Loading required package: sf
     Linking to GEOS 3.12.0, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
     Loading required package: stars
     Loading required package: abind
     Loading required package: ggplot2
     >
     > test_check("dtwSat")
    
     Model of class 'twdtw_knn1'
     -----------------------------
     Call:
     twdtw_knn1(x = dc, y = samples, time_weight = c(steepness = 0.1,
     midpoint = 50), cycle_length = "year", time_scale = "day",
     formula = band ~ s(time))
    
     Formula:
     band ~ s(time)
     <environment: 0x565184cd24f0>
    
     Data:
     # A tibble: 5 × 2
     label observations
     <chr> <list>
     1 Cotton-fallow <df [22 × 7]>
     2 Forest <df [22 × 7]>
     3 Soybean-cotton <df [22 × 7]>
     4 Soybean-millet <df [22 × 7]>
     5 Soybean-maize <df [22 × 7]>
    
     TWDTW Arguments:
     - time_weight: c(steepness=0.1, midpoint=50)
     - cycle_length: year
     - time_scale: day
     - origin: NULL
     - max_elapsed: Inf
     - version: f90
     prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
     prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
    
     *** caught segfault ***
     address 0x565100000017, cause 'memory not mapped'
     Fatal error: *** recursive gc invocation
    
     Fatal error: *** recursive gc invocation
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [39s/46s]
    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/testing-design.html#sec-tests-files-overview
     > # * https://testthat.r-lib.org/articles/special-files.html
     >
     > library(testthat)
     > library(dtwSat)
     Loading required package: twdtw
     Loading required package: sf
     Linking to GEOS 3.12.0, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
     Loading required package: stars
     Loading required package: abind
     Loading required package: ggplot2
     >
     > test_check("dtwSat")
    
     Model of class 'twdtw_knn1'
     -----------------------------
     Call:
     twdtw_knn1(x = dc, y = samples, time_weight = c(steepness = 0.1,
     midpoint = 50), cycle_length = "year", time_scale = "day",
     formula = band ~ s(time))
    
     Formula:
     band ~ s(time)
     <environment: 0x5631b580b538>
    
     Data:
     # A tibble: 5 × 2
     label observations
     <chr> <list>
     1 Cotton-fallow <df [22 × 7]>
     2 Forest <df [22 × 7]>
     3 Soybean-cotton <df [22 × 7]>
     4 Soybean-millet <df [22 × 7]>
     5 Soybean-maize <df [22 × 7]>
    
     TWDTW Arguments:
     - time_weight: c(steepness=0.1, midpoint=50)
     - cycle_length: year
     - time_scale: day
     - origin: NULL
     - max_elapsed: Inf
     - version: f90
     prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
     prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
    
     *** caught segfault ***
     address 0x56310000001a, cause 'memory not mapped'
     Fatal error: *** recursive gc invocation
    
     Fatal error: *** recursive gc invocation
Flavor: r-patched-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [40s/50s]
    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/testing-design.html#sec-tests-files-overview
     > # * https://testthat.r-lib.org/articles/special-files.html
     >
     > library(testthat)
     > library(dtwSat)
     Loading required package: twdtw
     Loading required package: sf
     Linking to GEOS 3.12.0, GDAL 3.7.2, PROJ 9.3.0; sf_use_s2() is TRUE
     Loading required package: stars
     Loading required package: abind
     Loading required package: ggplot2
     >
     > test_check("dtwSat")
    
     Model of class 'twdtw_knn1'
     -----------------------------
     Call:
     twdtw_knn1(x = dc, y = samples, time_weight = c(steepness = 0.1,
     midpoint = 50), cycle_length = "year", time_scale = "day",
     formula = band ~ s(time))
    
     Formula:
     band ~ s(time)
     <environment: 0x555c1eded088>
    
     Data:
     # A tibble: 5 × 2
     label observations
     <chr> <list>
     1 Cotton-fallow <df [22 × 7]>
     2 Forest <df [22 × 7]>
     3 Soybean-cotton <df [22 × 7]>
     4 Soybean-millet <df [22 × 7]>
     5 Soybean-maize <df [22 × 7]>
    
     TWDTW Arguments:
     - time_weight: c(steepness=0.1, midpoint=50)
     - cycle_length: year
     - time_scale: day
     - origin: NULL
     - max_elapsed: Inf
     - version: f90
     prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
     prediction on array(s) `EVI,NDVI,RED,BLUE,NIR,MIR' failed; will try to split() dimension `time' over attributes
    
     *** caught segfault ***
     address 0x180000003, cause 'memory not mapped'
     Fatal error: *** recursive gc invocation
    
     Fatal error: *** recursive gc invocation
Flavor: r-release-linux-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/4s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-twdtw_classify.R:24:1'): (code run outside of `test_that()`) ───
     Error in `split.stars(x, c("time"))`: length(x) == 1 is not TRUE
     Backtrace:
     ▆
     1. ├─base::system.time(...) at test-twdtw_classify.R:24:0
     2. └─dtwSat::twdtw_knn1(...)
     3. ├─base::split(x, c("time"))
     4. └─stars:::split.stars(x, c("time"))
     5. └─base::stopifnot(length(x) == 1)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-arm64

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘landuse-mapping.Rmd’ using rmarkdown
    
    Quitting from lines 81-89 [unnamed-chunk-4] (landuse-mapping.Rmd)
    Error: processing vignette 'landuse-mapping.Rmd' failed with diagnostics:
    length(x) == 1 is not TRUE
    --- failed re-building ‘landuse-mapping.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘landuse-mapping.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [3s/3s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error ('test-twdtw_classify.R:24:1'): (code run outside of `test_that()`) ───
     Error in `split.stars(x, c("time"))`: length(x) == 1 is not TRUE
     Backtrace:
     ▆
     1. ├─base::system.time(...) at test-twdtw_classify.R:24:0
     2. └─dtwSat::twdtw_knn1(...)
     3. ├─base::split(x, c("time"))
     4. └─stars:::split.stars(x, c("time"))
     5. └─base::stopifnot(length(x) == 1)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-macos-x86_64