R Observatory
Search
install.packages("sfdep")
CRAN 30-day downloads, method
1,015+41.4% up on the 30 days before, the better direction
Test coverage, method
6%of lines run by tests

An interface to 'spdep' to integrate with 'sf' objects and the 'tidyverse'.

Maintainer
Dexter Locke
Licence
GPL-3
Latest release
13 Sep 2024
First release
20 Apr 2022

Compare with another package

More details
Releases
7
Needs compilation
No
Needs R
>= 3.5.0
Config/testthat/edition
3
LazyData
true
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("sfdep")
APA
Locke, D., & Parry, J. (2024). sfdep: Spatial Dependence for Simple Features (Version 0.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.sfdep
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for sfdep version 0.2.5 [Data set]. HJJB, LLC. Data release v2026-10-27. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-27, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.2.5
    Time taken
    120 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.2.5
    Time taken
    88 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.2.5
    Time taken
    105 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.2.5
    Time taken
    84 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    1,756 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.2.5
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    110 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    189 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    116 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    114 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.2.5
    Time taken
    32 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    119 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.2.5
    Time taken
    146 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (11)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
8 Jun 2026OK13000
7 Jun 2026Error12001
5 May 2026OK13000
3 May 2026Error12001
24 Apr 2026OK14000
20 Apr 2026Error13001
15 Apr 2026OK14000
11 Apr 2026Error13001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
1,037+39.4% up on the 30 days before, the better directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

3,619 of 26,529

CRAN

1,015 downloads in the last 30 days

Rank
3,619 of 26,529
Change
+41.4% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

17 downloads in the last 30 days

Rank
5,162 of 30,526
Change
+54.6% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

5 downloads in the last 30 days

Rank
10,712 of 29,212
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
5
Dependent packages
3
Suggested by
2
Needs (5)
Installing it adds
15 packages, 30.6 MB of source
Of those, need compilation
13
Optional extras (21)
Dependent packages (3)
PackageTitleDownloads in 30 days
swashHealth Geography Toolbox for Model-Based Analysis of Infections Panel Data616
pycnogridFlexible Pycnophylactic Interpolation to Discrete Global and Local Grid Systems267
skytrackrA Sky Illuminance Location Tracker250
Functions
167
Public exports
86
Lines of R code
4,375
Median complexity
1
Functions (167)
Size and composition

Lines by kind (8,174)

KindLinesShare
R code4,37554%
Tests4095%
Documentation3,39041%

Lines by language

LanguageLinesShare
R4,60756%
Rd3,39042%
Markdown1772%

Languages are counted from file extensions.

Files
165
R functions
167
Object systems
S3: 11 methods
Complexity
Median
1
Mean
1.82
Highest
8
Median lines per function
7
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
167
Calls
189
Unconnected
33
Groups
3
Growth (7 releases)
Total lines by release
4,263 on 20 Apr 20228,174 on 13 Sep 2024
Release changes

The tests ran and coverage was measured.

Lines run by tests
6.1%
Expressions run by tests
5.9%
Test cases
10
Exports named in tests
15.1%
Coverage by file (50)
Coverage run
Lines counted
1,078
Lines the tests ran
66
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
10
Snapshot tests
2
Lines of tests
409
Test lines per line of code
0.09
Exports documented
100%
Arguments documented
99.8%
Return value documented
100%
Help pages with examples
66.3%
Examples run in checks
100%
Other documentation
README
Yes, 474 words
Release notes file
No
Help pages
92
Lines of documentation
3,390

3 datasets, 2 can be loaded by name

DatasetSizeColumns
bos-ecometric1,680 × 5.region_id, ecometric, year, value, time_period
guerry"Essay on the Moral Statistics of France" data set.85 × 27code_dept, count, ave_id_geo, dept, region, department and 21 more
guerry_nb"Essay on the Moral Statistics of France" data set.85 × 29code_dept, count, ave_id_geo, dept, region, department and 23 more

JosiahParry / sfdep on github.com

Stars
142+0.71% up on 30 days ago, the better direction
Forks
6
Open issues
16
Last commit
14 Aug 2026
Activity
Commits
176
Open pull requests
1
Tagged releases
2
Latest tagged release
v0.2.0, 19 Aug 2022
In development
The default branch showed an older version (0.2.4.9000) than CRAN on 2026-10-25
Issues closed in
6 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
88%
Created
8 Jan 2022
Licence file reads as
GPL-3.0
Development practices (14)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux
Governance and communityContributing guide, Funding
Funding links: GitHub Sponsors
The repository owner accepts GitHub Sponsors
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-08-14
The repository has a site deploy workflow
Reproducibility and dev environmentdata-raw/
CRAN release processcran-comments.md
Automation and maintenancepre-commit
Lint, format, editorjarl
Git structural.gitattributes

Method, repository practices

Across JosiahParry

R releases
  • On CRAN
  • Archived
  • Release
0.1.00.2.00.2.30.2.40.2.5Archived once and back twiceArchivedArchived and back twice

Archived and back

ArchivedBackCRAN's reasonKind
10 Jan 202311 Jan 2023issues were not corrected in timeChecks not fixed
4 Nov 202216 Dec 2022issues were not corrected in timeChecks not fixed
VersionReleasedREvents
0.2.5 current13 Sep 20244.4.1
0.2.420 Feb 20244.3.2Maintainer: Dexter Locke
0.2.311 Jan 20234.2.2Back on CRAN 11 Jan 2023
0.2.222 Dec 20224.2.2Archived 10 Jan 2023
“issues were not corrected in time”
0.2.116 Dec 20224.2.2Back on CRAN 16 Dec 2022
0.2.015 Aug 20224.2.1Archived 4 Nov 2022
“issues were not corrected in time”
0.1.020 Apr 20224.1.3