sfcurve
2x2, 3x3 and Nxn Space-Filling Curves
Description
Implementation of all possible forms of 2x2 and 3x3 space-filling curves, i.e., the generalized forms of the Hilbert curve <https://en.wikipedia.org/wiki/Hilbert_curve>, the Peano curve <https://en.wikipedia.org/wiki/Peano_curve> and the Peano curve in the meander type (Figure 5 in <https://eudml.org/doc/141086>). It can generates nxn curves expanded from any specific level-1 units. It also implements the H-curve and the three-dimensional Hilbert curve. See <doi:10.48550/arXiv.2412.16962> for more details.
Downloads
533
Last 30 days
7230th
1.5K
Last 90 days
3K
Last year
Trend: +13.9% (30d vs prior 30d)
24
Last 30 days
122
Last 90 days
402
Last year
Trend: -40% (30d vs prior 30d)
2
Last 7 days
8
Last 30 days
0
All-time
autoCRAN-only: this name is served only by autoCRAN, so the count is exact.
CRAN Check Status
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 Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
whether package can be installed
Installation failed. See 'd:/Rcompile/CRANpkg/local/4.6/sfcurve.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026
NOTE 3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'h_curve.Rd' 'sfc_4x4_meander.Rd' 'sfc_generator.Rd'
'spacefilling.Rd'
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘h_curve.Rd’ ‘sfc_4x4_meander.Rd’ ‘sfc_generator.Rd’
‘spacefilling.Rd’
DESCRIPTION meta-information
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'h_curve.Rd' 'sfc_4x4_meander.Rd' 'sfc_generator.Rd'
'spacefilling.Rd'
Code
Structure
Lines of code
9,751
Files
85
Compiled share
14.3%
Has compiled src
Yes
Language breakdown
API
Exported functions
56
Internal functions
62
Recent export changes
Testing & CI
Has tests
Yes
Test-to-code ratio
0.08
testthat edition
–
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
100%
\dontrun example ratio
0%
Roxygen coverage
100%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
100%
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
2
First release
2024-09-13
Latest release
2026-04-10
Avg cadence
574 days
Cold removal rate
–
Dep drift
0
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.
Dependency Network
Version History
2 trackedR Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Sep 13, 2024. Releases before tracking aren’t shown.