mlr3spatial
Support for Spatial Objects Within the 'mlr3' Ecosystem
Description
Extends the 'mlr3' ML framework with methods for spatial objects. Data storage and prediction are supported for packages 'terra', 'raster' and 'stars'.
Downloads
2.6K
Last 30 days
2391st
11.3K
Last 90 days
40.9K
Last year
Trend: -46.2% (30d vs prior 30d)
4
Last 30 days
32
Last 90 days
155
Last year
Trend: -63.6% (30d vs prior 30d)
0
Last 7 days
13
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
tests
Running ‘testthat.R’ [44s/58s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("checkmate")
+ library("testthat")
+ library("mlr3spatial")
+ test_check
...[truncated]...
)
19. └─value[[3L]](cond)
20. └─future.apply:::onError(e, futures = fs, debug = debug)
[ FAIL 1 | WARN 2 | SKIP 0 | PASS 324 ]
Error:
! Test failures.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 3, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
tests
Running ‘testthat.R’ [3m/27m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("checkmate")
+ library("testthat")
+ library("mlr3spatial")
+ test_check(
...[truncated]...
)
19. └─value[[3L]](cond)
20. └─future.apply:::onError(e, futures = fs, debug = debug)
[ FAIL 1 | WARN 1 | SKIP 0 | PASS 324 ]
Error:
! Test failures.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
4,122
Files
70
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
30
Internal functions
8
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
1.01
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
56.3%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
0%
Unsafe pattern score
0
Dep constraint coverage
70%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.1.0
System requirements
–
C++ standard
–
License
LGPL-3
License flags
SPDX valid, OSI approved
History
Versions
12
First release
2021-11-16
Latest release
2025-09-14
Avg cadence
65 days
Cold removal rate
100%
Dep drift
3
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.