Skip to content

csquares

0.1.0

Concise Spatial Query and Representation System (c-Squares)

0packages depend
2.5Kdownloads / year
97.1%test coverage
13/13checks pass

Overview

About
Maintained by Pepijn de VriesFirst published 2024-06-245 releasesCRAN page ↗GitHub ↗

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-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 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
Compare downloads with other packages →
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

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
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
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

Loading call graph…

Lowest coverage

95 functions
FunctionCycloCoverage
.s3_df_stars_prep1160%
as_csquares.sf367%
select.csquares279%
anti_join.csquares286%
as.data.frame.csquares486%
register_s3_method386%

Datasets

Bundled datasets · 1
NameClassRows × ColsAlso ships in
orcadata.frame2,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.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.0Latest
    2024-08-30 · current release · diff ↗
  • 0.0.7
    2024-07-25 · diff ↗
  • 0.0.6
    2024-07-19 · diff ↗
  • 0.0.5
    2024-07-05 · diff ↗
  • 0.0.3
    2024-06-24
  • R
    R 4.4.0 released · 2024-04-24

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
Report a problem with this page →