Skip to content

memoise

2.0.1Package record

'Memoisation' of Functions

160packages dependsuggested by 18
12.5Mdownloads / year
53.8%test coverage
13/13flavors OK

Overview

About

Cache the results of a function so that when you call it again with the same arguments it returns the previously computed value.

Install

Health

CRAN checks
13OK
Slowest check: 1.1 min · r-devel-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 2.0.1
READMEYes · 620 wordsVignettesNoNEWSYes · 100% structured · mentions 2.0.1Citation fileNoWebsiteYes · pkgdown
Help pages
10
Examples that run
67%6 run in a plain check · 3 never run
Exported functions with examples
90%
Documented parameters
94%
Return-value docs
30%
Help pages citing references
0%

Downloads

12.5M
CRAN downloads in the past year
Rank #61 · ~34.3K/day · ~1M/mo
Daily download trend is not available in this view yet.
913.6K30 days
2.9M90 days
12.5M1 year
Compare downloads with other packages →
Also on210.4K r2u133 autocran1.5M conda_forge20.8K c2d4u

Repository

322Stars
58Forks
39Open issues
8Open PRs
5Releases
244Commits
27Commit identities
rmemoise
244 commits · Last activity 2023-12-05 · +0.3% stars, 30d · Default branch at 2.0.1.9000, ahead of CRAN 2.0.1 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
70%
Median days to close, 50 most recently updated closed issues
32
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2025-09-04 · 3202026-09-25 · 322
PracticesBeta

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

Checks run against github.com/r-lib/memoise on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2021-06-29 · The repository has a site deploy workflow

pkgdown site last built 2021-06-29, before release 2.0.1 (2021-11-26)

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (2)
cran-comments.mdrevdep/
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing memoise adds 3 packages (3 with compiled code, 839 KB of source tarballs). Heaviest: rlang 766 KB, fastmap 46 KB, cachem 27 KB.

Depends (0)
none
Imports (2)
LinkingTo (0)
none
Enhances (0)
none

People & History

People (6)
Author, Maintainer since 2.0.1 (2021) · added in 2.0.0
Author · added in 1.1.0
Author · added in 1.0.0
Author · added in 1.0.0
Contributor · added in 2.0.0

Previously maintained by Jim Hester (1.0.0 to 2.0.0) and Hadley Wickham (0.1 to 0.2.1).

Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
  • R
    R 2.14.0 released · 2011-10-31
Show 10 earlier eventsHide 10 earlier events
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 2.12.0Latest
    record
    2010-09-03 · current release · diff ↗
  • 2.0.1
    record
    2021-11-26 · diff ↗
  • 2.0.0
    record
    2021-01-26 · diff ↗ ·
    added 2 exports
    cache_gcs, drop_cache
  • 1.1.0
    record
    2017-04-21 · diff ↗ ·
    added 3 exports
    cache_filesystem, cache_memory, cache_s3
  • 1.0.0
    record
    2016-01-29 · diff ↗ ·
    added 2 exports
    has_cache, timeout
  • 0.2.1
    record
    2014-04-22 · diff ↗ ·
    added 2 exports
    is.memoised, is.memoized
  • 0.1
    record
    2010-09-03
  • R
    R 2.11.0 released · 2010-04-22

Package metadata

First published
2010-09-03
Total releases
7 / 16 yrs
License
MIT + file LICENSE OSI
Download size
17 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("memoise")
Chang, W., Cook, D., Edmondson, M., Hester, J., Müller, K., & Wickham, H. (2021). memoise: 'Memoisation' of Functions (Version 2.0.1) [Computer software]. https://doi.org/10.32614/CRAN.package.memoise

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 memoise version 2.0.1 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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