Skip to content

lenses

0.0.3

Elegant Data Manipulation with Lenses

0packages depend
2.3Kdownloads / year
8.0%test coverage
11/13checks pass

Overview

About
Maintained by Chris HammillFirst published 2019-03-061 releasesCRAN page ↗GitHub ↗

Provides tools for creating and using lenses to simplify data manipulation. Lenses are composable getter/setter pairs for working with data in a purely functional way. Inspired by the 'Haskell' library 'lens' (Kmett, 2012) https://hackage.haskell.org/package/lens. For a fairly comprehensive (and highly technical) history of lenses please see the 'lens' wiki https://github.com/ekmett/lens/wiki/History-of-Lenses.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.02
8.0%
Coverage · measured lines
96%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-03-10
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,449 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
0%
References docs
0%

Downloads

2.3K
CRAN downloads in the past year
Rank #18,445 · ~6/day · ~195/mo
Daily download trend is not available in this view yet.
19430 days
62190 days
2.3K1 year
Compare downloads with other packages →
Also on88 r2u21 autocran

Repository

Repository
29Stars
4Forks
17Open issues
1Open PRs
0Releases
101Commits
3Contributors
functional-programmingr
101 commits · Last activity 2019-07-10 · 0% stars, 30d

Stars over time

2023-07-31 · 272026-07-07 · 29

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/cfhammill/lenses on 2026-07-19.

CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer, Translator
Authors (2)
Author, Maintainer, Translator
Author, Translator
Translators (2)
Author, Maintainer, Translator
Author, Translator
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.3Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2019-03-06
Total releases
1 / 7 yrs
License
MIT + file LICENSE OSI
Download size
25 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →