CRAN Package Check Results for Package glcm

Last updated on 2019-03-22 09:50:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.1 27.42 34.60 62.02 ERROR
r-devel-linux-x86_64-debian-gcc 1.6.1 22.03 27.46 49.49 ERROR
r-devel-linux-x86_64-fedora-clang 1.6.1 86.64 ERROR
r-devel-linux-x86_64-fedora-gcc 1.6.1 78.45 ERROR
r-devel-windows-ix86+x86_64 1.6.1 65.00 93.00 158.00 OK
r-patched-linux-x86_64 1.6.1 25.71 32.68 58.39 ERROR
r-patched-solaris-x86 1.6.1 94.60 OK
r-release-linux-x86_64 1.6.1 27.84 32.80 60.64 ERROR
r-release-windows-ix86+x86_64 1.6.1 65.00 69.00 134.00 OK
r-release-osx-x86_64 1.6.1 OK
r-oldrel-windows-ix86+x86_64 1.6.1 62.00 96.00 158.00 OK
r-oldrel-osx-x86_64 1.6.1 OK

Check Details

Version: 1.6.1
Check: examples
Result: ERROR
    Running examples in 'glcm-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: test_raster
    > ### Title: Randomly generated 100x100 test image
    > ### Aliases: test_raster
    >
    > ### ** Examples
    >
    > # The image was generated with the following code:
    > require(raster)
    Loading required package: raster
    Loading required package: sp
    > set.seed(0)
    > test_matrix <- matrix(runif(100)*32, nrow=10)
    > test_raster <- raster(test_matrix, crs='+init=EPSG:4326')
    Error in CRS(as.character(projection(crs))) :
     no arguments in initialization list
    Calls: raster ... raster -> .local -> raster -> raster -> .local -> CRS
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.6.1
Check: tests
Result: ERROR
     Running 'test-all.R' [3s/4s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check('glcm')
     Loading required package: glcm
     -- 1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21) --------
     no arguments in initialization list
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1)), expected = getValues(expected_textures_3x3_1x1$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:21
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     -- 2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48) --------
     no arguments in initialization list
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3)), expected = getValues(expected_textures_5x7_2x3$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:48
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     -- 3. Error: (unknown) (@test-glcm.R#113) -------------------------------------
     no arguments in initialization list
     1: glcm(test_raster, 32, c(3, 3), c(1, 1), "correlation", na_val = 0) at testthat/test-glcm.R:113
     2: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     3: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     4: .local(x, ...)
     5: raster(x)
     6: raster(x)
     7: .local(x, ...)
     8: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     9: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     10: .local(x, ...)
     11: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     12: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     13: .local(...)
     14: CRS(as.character(projection(crs)))
     15: stop(res[[2]])
    
     == testthat results ===========================================================
     OK: 1 SKIPPED: 0 FAILED: 3
     1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21)
     2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48)
     3. Error: (unknown) (@test-glcm.R#113)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.6.1
Check: tests
Result: ERROR
     Running ‘test-all.R’ [3s/3s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check('glcm')
     Loading required package: glcm
     ── 1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21) ────────
     no arguments in initialization list
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1)), expected = getValues(expected_textures_3x3_1x1$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:21
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     ── 2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48) ────────
     no arguments in initialization list
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3)), expected = getValues(expected_textures_5x7_2x3$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:48
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     ── 3. Error: (unknown) (@test-glcm.R#113) ─────────────────────────────────────
     no arguments in initialization list
     1: glcm(test_raster, 32, c(3, 3), c(1, 1), "correlation", na_val = 0) at testthat/test-glcm.R:113
     2: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     3: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     4: .local(x, ...)
     5: raster(x)
     6: raster(x)
     7: .local(x, ...)
     8: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     9: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     10: .local(x, ...)
     11: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     12: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     13: .local(...)
     14: CRS(as.character(projection(crs)))
     15: stop(res[[2]])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 1 SKIPPED: 0 FAILED: 3
     1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21)
     2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48)
     3. Error: (unknown) (@test-glcm.R#113)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 1.6.1
Check: compiled code
Result: NOTE
    File ‘glcm/libs/glcm.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.6.1
Check: examples
Result: ERROR
    Running examples in ‘glcm-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: test_raster
    > ### Title: Randomly generated 100x100 test image
    > ### Aliases: test_raster
    >
    > ### ** Examples
    >
    > # The image was generated with the following code:
    > require(raster)
    Loading required package: raster
    Loading required package: sp
    > set.seed(0)
    > test_matrix <- matrix(runif(100)*32, nrow=10)
    > test_raster <- raster(test_matrix, crs='+init=EPSG:4326')
    Error in CRS(as.character(projection(crs))) : no system list, errno: 2
    Calls: raster ... raster -> .local -> raster -> raster -> .local -> CRS
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.6.1
Check: tests
Result: ERROR
     Running ‘test-all.R’
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check('glcm')
     Loading required package: glcm
     ── 1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21) ────────
     no system list, errno: 2
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1)), expected = getValues(expected_textures_3x3_1x1$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:21
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     ── 2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48) ────────
     no system list, errno: 2
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3)), expected = getValues(expected_textures_5x7_2x3$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:48
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     ── 3. Error: (unknown) (@test-glcm.R#113) ─────────────────────────────────────
     no system list, errno: 2
     1: glcm(test_raster, 32, c(3, 3), c(1, 1), "correlation", na_val = 0) at testthat/test-glcm.R:113
     2: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     3: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     4: .local(x, ...)
     5: raster(x)
     6: raster(x)
     7: .local(x, ...)
     8: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     9: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     10: .local(x, ...)
     11: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     12: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     13: .local(...)
     14: CRS(as.character(projection(crs)))
     15: stop(res[[2]])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 1 SKIPPED: 0 FAILED: 3
     1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21)
     2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48)
     3. Error: (unknown) (@test-glcm.R#113)
    
     Error: testthat unit tests failed
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.6.1
Check: tests
Result: ERROR
     Running ‘test-all.R’ [3s/4s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check('glcm')
     Loading required package: glcm
     ── 1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21) ────────
     no arguments in initialization list
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1)), expected = getValues(expected_textures_3x3_1x1$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:21
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(3, 3), c(1, 1))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     ── 2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48) ────────
     no arguments in initialization list
     1: expect_equal(get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3)), expected = getValues(expected_textures_5x7_2x3$mean_ENVI),
     tolerance = 1e-06) at testthat/test-glcm.R:48
     2: quasi_label(enquo(object), label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: get_pkg_glcm_texture("mean_ENVI", c(5, 7), c(2, 3))
     5: glcm(test_raster, 32, window, shift, statistic, na_val = 0) at testthat/test-glcm.R:14
     6: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     7: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     8: .local(x, ...)
     9: raster(x)
     10: raster(x)
     11: .local(x, ...)
     12: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     13: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     14: .local(x, ...)
     15: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     16: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     17: .local(...)
     18: CRS(as.character(projection(crs)))
     19: stop(res[[2]])
    
     ── 3. Error: (unknown) (@test-glcm.R#113) ─────────────────────────────────────
     no arguments in initialization list
     1: glcm(test_raster, 32, c(3, 3), c(1, 1), "correlation", na_val = 0) at testthat/test-glcm.R:113
     2: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     3: raster::cut(x, breaks = seq(min_x, max_x, length.out = (n_grey + 1)), include.lowest = TRUE,
     right = FALSE)
     4: .local(x, ...)
     5: raster(x)
     6: raster(x)
     7: .local(x, ...)
     8: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     9: raster(x@extent, nrows = x@nrows, ncols = x@ncols, crs = x@crs)
     10: .local(x, ...)
     11: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     12: raster(xmn = x@xmin, xmx = x@xmax, ymn = x@ymin, ymx = x@ymax, ncols = ncols, nrows = nrows,
     crs = crs, ...)
     13: .local(...)
     14: CRS(as.character(projection(crs)))
     15: stop(res[[2]])
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 1 SKIPPED: 0 FAILED: 3
     1. Error: glcm on 3x3 window with 1x1 shift works (@test-glcm.R#21)
     2. Error: glcm on 5x7 window with 2x3 shift works (@test-glcm.R#48)
     3. Error: (unknown) (@test-glcm.R#113)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64