Skip to content

remap

Regional Spatial Modeling with Continuous Borders

v0.3.3 · Jun 22, 2026 · GPL-3

Description

Automatically creates separate regression models for different spatial regions. The prediction surface is smoothed using a regional border smoothing method. If regional models are continuous, the resulting prediction surface is continuous across the spatial dimensions, even at region borders. Methodology is described in Wagstaff and Bean (2023) <doi:10.32614/RJ-2023-004>.

Downloads

CRAN

349

Last 30 days

11363rd

753

Last 90 days

4.2K

Last year

Trend: +129.6% (30d vs prior 30d)

r2u CRAN

9

Last 30 days

24

Last 90 days

95

Last year

Trend: -35.7% (30d vs prior 30d)

autoCRAN

2

Last 7 days

11

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
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 Jul 1, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Jun 19, 2026
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘remap-Ex.R’ failed
The error most likely occurred in:

> ### Name: remap
> ### Title: Build separate models for mapping multiple regions.
> ### Aliases: remap
> 
> ### ** Examples
> 
> library(remap)
> data(utsnow)
> data(utws)
>
...[truncated]...
ds <- exp(predict(remap_model, utsnz, smooth = 10))
Error in Ops.units(x, as.numeric(smooth)) : 
  both operands of the expression should be "units" objects
Calls: predict ... [<-.units -> NextMethod -> t -> apply -> FUN -> Ops.units
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘remap-Ex.R’ failed
The error most likely occurred in:

> ### Name: remap
> ### Title: Build separate models for mapping multiple regions.
> ### Aliases: remap
> 
> ### ** Examples
> 
> library(remap)
> data(utsnow)
> data(utws)
>
...[truncated]...
ds <- exp(predict(remap_model, utsnz, smooth = 10))
Error in Ops.units(x, as.numeric(smooth)) : 
  both operands of the expression should be "units" objects
Calls: predict ... [<-.units -> NextMethod -> t -> apply -> FUN -> Ops.units
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 13, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 4, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘remap-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: remap
> ### Title: Build separate models for mapping multiple regions.
> ### Aliases: remap
> 
> ### ** 
...[truncated]...
ds <- exp(predict(remap_model, utsnz, smooth = 10))
Error in Ops.units(x, as.numeric(smooth)) : 
  both operands of the expression should be "units" objects
Calls: predict ... [<-.units -> NextMethod -> t -> apply -> FUN -> Ops.units
Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

PDF version of manual

LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies sf units utils (>= 4.1.0) remap

Version History

7 tracked
updated 0.3.3 ← 0.3.2 diff Jun 23, 2026
new 0.3.2 Mar 10, 2026
updated 0.3.2 ← 0.3.1 diff Jan 9, 2025
updated 0.3.1 ← 0.3.0 diff Jun 13, 2023
updated 0.3.0 ← 0.2.1 diff Aug 12, 2022
updated 0.2.1 ← 0.2.0 diff Apr 15, 2021
new 0.2.0 Jan 13, 2021