We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15da8a6 commit 59de86cCopy full SHA for 59de86c
tests/testthat/test-ResamplingSpCVBlock.R
@@ -100,7 +100,7 @@ test_that("mlr3spatiotempcv indices are the same as blockCV indices: rasterLayer
100
task = test_make_blockCV_test_task()
101
testSF = test_make_blockCV_test_df()
102
103
- rl <- raster::raster(raster::extent(testSF), crs = sf::st_crs(testSF)$input)
+ rl <- raster::raster(raster::extent(testSF), crs = raster::crs(testSF))
104
vals <- seq_len(raster::ncell(rl))
105
rl = raster::setValues(rl, vals)
106
0 commit comments