csquares
0.1.0Concise Spatial Query and Representation System (c-Squares)
0packages depend
2.5Kdownloads / year
97.1%test coverage
13/13checks pass
Overview
About
Encode and decode c-squares, from and to simple feature (sf) or spatiotemporal arrays (stars) objects. Use c-squares codes to quickly join or query spatial data.
Install
Health
CRAN checks
13OK
Slowest check: 4.2 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.46
97.1%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 327 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
- Examples that run
- 92%
- Documented parameters
- 94%
- Return-value docs
- 92%
- References docs
- 6%
Downloads
2.5K
CRAN downloads in the past year
Rank #15,771 · ~7/day · ~210/mo
Daily download trend is not available in this view yet.
24130 days
71890 days
2.5K1 year
Also on104 r2u34 autocran
Repository
Repository
2Stars
0Forks
4Open issues
0Open PRs
0Releases
55Commits
2Contributors
spatial
License GPL-3.0 · 55 commits · Last activity 2026-01-22
Stars over time
2024-11-15 · 22026-07-07 · 2
Issues over time
2024-07-05 · 22026-07-07 · 4
Repository practices
Upstream repositoryBeta
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/pepijn-devries/csquares on 2026-07-19.
Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Dependencies
Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (12)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Code Composition
R 3,236 (68%)Rd 983 (21%)Vignettes 564 (12%)
Code characteristics
Object systems
S329
- Cyclomatic complexity
- 2.0 median / 13 max
- Test cases
- 120 / 0.46 per code line
Test coverage
Line coverage
97%
Expression
97.2%
Tests / Examples
97.1% / 74% ex
Functions
95 18 exported
Complexity
2.5 avg / 13 max
Call network
95 nodes / 151 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
95 functions| Function | Cyclo | Coverage |
|---|---|---|
| .s3_df_stars_prep | 11 | 60% |
| as_csquares.sf | 3 | 67% |
| select.csquares | 2 | 79% |
| anti_join.csquares | 2 | 86% |
| as.data.frame.csquares | 4 | 86% |
| register_s3_method | 3 | 86% |
Datasets
Bundled datasets · 1
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| orca | data.frame | 2,058 × 2 | – |
People & History
People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline
5 releases. Pick two to compare their code metrics. R releases are shown for context.
0 of 2 selectedCompare selected
Package metadata
- First published
- 2024-06-24
- Total releases
- 5 / 2 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 3.7 KB / 1 file
- Download size
- 695 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet