Skip to content

mapSpain

Administrative Boundaries and Static Map Tiles for Spain

v1.2.0 · Jun 17, 2026 · GPL-3

Description

Administrative boundaries of Spain at several levels (Autonomous Communities and Cities, provinces, municipalities and 'NUTS'), based on 'GISCO' from 'Eurostat' <https://ec.europa.eu/eurostat/web/gisco> and 'CartoBase ANE' from 'Instituto Geográfico Nacional' <https://www.ign.es/>. Includes tools to download and process static map tiles and a 'leaflet' plugin for Spanish public administration tile providers.

Downloads

CRAN

1.6K

Last 30 days

2979th

5.2K

Last 90 days

23.4K

Last year

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

r2u CRAN

12

Last 30 days

76

Last 90 days

227

Last year

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

autoCRAN

2

Last 7 days

13

Last 30 days

1

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 Jun 20, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 19, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mapSpain)
  > 
  > test_check("mapSpain")
  Starting 2 test processes.
  > test-esp-cache.R: i mapSpain cache directory is 'D
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 18, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 12, 2026
ERROR r-release-windows-x86_64

tests

Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mapSpain)
  > 
  > test_check("mapSpain")
  Starting 2 test processes.
  > test-esp-cache.R: i mapSpain cache dir is 'D:\temp
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 1, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE May 29, 2026
ERROR r-devel-windows-x86_64

tests

Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(mapSpain)
  > 
  > test_check("mapSpain")
  Starting 2 test processes.
  > test-esp-check-access.R: 
  
  Error:
  ! testthat
...[truncated]...
       └─base::lapply(...)
   15.               └─testthat (local) FUN(X[[i]], ...)
   16.                 └─private$handle_error(msg, i)
   17.                   └─cli::cli_abort(...)
   18.                     └─rlang::abort(...)
  Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (4)

imports

Dependency Network

Dependencies Reverse dependencies cli countrycode giscoR httr2 jsonlite leaflet lifecycle rappdirs sf terra tibble CatastRo climaemet infoelectoral spanishoddata mapSpain

Version History

23 tracked
updated 1.2.0 ← 1.1.0 diff Jun 17, 2026
updated 1.1.0 ← 1.0.0 diff Mar 26, 2026
new 1.0.0 Mar 10, 2026
updated 1.0.0 ← 0.10.0 diff Jan 16, 2026
updated 0.10.0 ← 0.9.2 diff Dec 14, 2024
updated 0.9.2 ← 0.9.1 diff Aug 25, 2024
updated 0.9.1 ← 0.9.0 diff Jun 9, 2024
updated 0.9.0 ← 0.8.0 diff Jan 22, 2024
updated 0.8.0 ← 0.7.0 diff Jul 11, 2023
updated 0.7.0 ← 0.6.2 diff Dec 21, 2022
updated 0.6.2 ← 0.6.1 diff Aug 12, 2022
updated 0.6.1 ← 0.6.0 diff Feb 24, 2022
updated 0.6.0 ← 0.5.0 diff Feb 17, 2022
updated 0.5.0 ← 0.4.0 diff Jan 24, 2022
updated 0.4.0 ← 0.3.1 diff Oct 13, 2021