Skip to content

naijR

Operations to Ease Data Analyses Specific to Nigeria

v0.7.0 · Mar 13, 2026 · GPL-3

Description

A set of convenience functions as well as geographical/political data about Nigeria, aimed at simplifying work with data and information that are specific to the country.

Downloads

CRAN

739

Last 30 days

4476th

2.1K

Last 90 days

6.6K

Last year

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

r2u CRAN

0

Last 30 days

28

Last 90 days

140

Last year

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

autoCRAN

4

Last 7 days

15

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

4,978

Files

70

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,631 (52.9%)Tests 1,468 (29.5%)Docs 616 (12.4%)Vignettes 263 (5.3%)

API

Exported functions

12

Internal functions

68

Recent export changes

v0.7.0+1 ng_distance
v0.6.1−1 lgas_ng

Testing & CI

Has tests

Yes

Test-to-code ratio

0.56

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

12.5%

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

63.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.6

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

24

First release

2020-02-11

Latest release

2026-03-13

Avg cadence

53 days

Cold removal rate

100%

Dep drift

33

LOC over versions

v0.0.6: 492 LOCv0.0.7: 651 LOCv0.1.0: 1,918 LOCv0.1.2: 1,925 LOCv0.1.3: 2,049 LOCv0.1.4: 2,058 LOCv0.2.1: 2,789 LOCv0.2.2: 2,790 LOCv0.3.0: 3,127 LOCv0.3.1: 3,211 LOCv0.3.2: 3,226 LOCv0.3.3: 3,364 LOCv0.3.4: 3,395 LOCv0.4.0: 3,749 LOCv0.4.3: 3,919 LOCv0.4.4: 3,922 LOCv0.5.0: 4,532 LOCv0.5.1: 4,806 LOCv0.5.2: 4,739 LOCv0.6.0: 4,613 LOCv0.6.1: 4,683 LOCv0.6.2: 4,712 LOCv0.6.3: 4,719 LOCv0.7.0: 4,978 LOC

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

Dependency Network

Dependencies Reverse dependencies RColorBrewer cli mapdata maps rlang sf stringi (>= 1.7.6) naijR

Version History

25 tracked
updated 0.7.0 ← 0.6.3 diff Mar 13, 2026
new 0.6.3 Mar 10, 2026
updated 0.6.3 ← 0.6.2 diff Aug 31, 2025
updated 0.6.2 ← 0.6.1 diff Apr 8, 2025
updated 0.6.1 ← 0.6.0 diff Oct 9, 2024
updated 0.6.0 ← 0.5.2 diff Aug 7, 2023
updated 0.5.2 ← 0.5.1 diff Jun 13, 2023
updated 0.5.1 ← 0.5.0 diff Dec 1, 2022
updated 0.5.0 ← 0.4.4 diff Sep 29, 2022
updated 0.4.4 ← 0.4.3 diff Aug 29, 2022
updated 0.4.3 ← 0.4.0 diff Aug 7, 2022
updated 0.4.0 ← 0.3.4 diff Jan 27, 2022
updated 0.3.4 ← 0.3.3 diff Dec 5, 2021
updated 0.3.3 ← 0.3.2 diff Nov 4, 2021
updated 0.3.2 ← 0.3.1 diff Oct 19, 2021