Skip to content

coglyphr

1.1.0Package record

Compute Glyph Centers of Gravity from Image Data

0packages depend
4.2Kdownloads / year
82.6%test coverage
13/13flavors OK

Overview

About

Computes the center of gravity (COG) of character-like binary images using three different methods. This package provides functions for estimating stroke-based, contour-based, and potential energy-based COG. It is useful for analyzing glyph structure in areas such as visual cognition research and font development. The contour-based method was originally proposed by Kotani et al. (2004) https://ipsj.ixsq.nii.ac.jp/records/36793 and Kotani (2011) https://shonan-it.repo.nii.ac.jp/records/2000243, while the potential energy-based method was introduced by Kotani et al. (2006) doi:10.11371/iieej.35.296.

Changes in 1.1.0
  • Removed hard dependency on the 'imager' package; it is now optional.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 364 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
8
Examples that run
67%4 run in a plain check (2 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
25%

Downloads

4.2K
CRAN downloads in the past year
Rank #13,449 · ~12/day · ~353/mo
Daily download trend is not available in this view yet.
29530 days
86090 days
4.2K1 year
Compare downloads with other packages →
Also on86 r2u7 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2025-12-24
Responsiveness
not measured
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/mutopsy/coglyphr on 2026-10-18.

Continuous integration (1)
GitHub Actions
Docs source (2)
pkgdown

GitHub Pages site last deployed 2025-12-24

pkgdown site last built 2025-12-24, before release 1.1.0 (2026-01-19)

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing coglyphr adds 16 packages (10 with compiled code, 9.5 MB of source tarballs). Heaviest: sp 4.3 MB, vctrs 1.0 MB, dplyr 902 KB.

Depends (1)
R >= 4.4.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 1.0.4 (2025)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    record
    2026-01-19 · current release · diff ↗
  • 1.0.4
    record
    2025-09-30
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-09-30
Total releases
2 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.4.0
Bundled data
34 KB / 2 files
Download size
60 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("coglyphr")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.51094/jxiv.1531.

Cite the 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 coglyphr version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy