Skip to content

jpmap

Japan Maps with Insets for Okinawa and Ogasawara

v0.1.3 · Jul 3, 2026 · MIT + file LICENSE

Description

Provides tools for drawing maps of Japan with prefecture and municipal boundaries. The plotting workflow mirrors the 'usmap' package and includes a transform that moves Okinawa and Ogasawara into visible inset locations. Boundary helpers build local 'GeoPackage' files from Japan's official MLIT N03 administrative area data <https://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-N03-2024.html>.

Downloads

CRAN

17

Last 30 days

24246th

17

Last 90 days

17

Last year

CRAN Check Status

9 OK
Show all 9 flavors
Flavor Status
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-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 7 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jul 4, 2026

Line coverage

Expression

Tests / Examples

Functions

90 11 exported

Complexity

3.4 avg / 14 max

Call network

90 nodes / 137 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

4,639

Files

87

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,529 (54.5%)Tests 275 (5.9%)Docs 577 (12.4%)Vignettes 1,258 (27.1%)

API

Exported functions

11

Internal functions

78

Recent export changes

v0.1.3+11 available_jpmap_data, jp_disputed_territories, jp_map +8 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.11

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

28.6%

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

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

1

First release

2026-07-03

Latest release

2026-07-03

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies ggplot2 rlang sf jpmap

Version History

1 tracked
new 0.1.3 Jul 3, 2026