Skip to content

coglyphr

1.1.0

Compute Glyph Centers of Gravity from Image Data

0packages depend
3.6Kdownloads / year
82.6%test coverage
12/13checks pass

Overview

About
Maintained by Hiroyuki MutoFirst published 2025-09-302 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.4 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.37
82.6%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 364 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
100%
Return-value docs
100%
References docs
25%

Downloads

3.6K
CRAN downloads in the past year
Rank #8,691 · ~10/day · ~302/mo
Daily download trend is not available in this view yet.
21630 days
1.2K90 days
3.6K1 year
Compare downloads with other packages →
Also on81 r2u2 autocran

Repository

Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
Last activity 2025-12-24

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/mutopsy/coglyphr on 2026-07-31.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.4.0
Imports (2)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

2 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    2026-01-19 · current release · diff ↗
  • 1.0.4
    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
Installed size
not tracked yet
With dependencies
not tracked yet
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