./devel/R-memoise, Memoisation of functions

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.0.1, Package name: R-memoise-2.0.1, Maintainer: minskim

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


Required to run:
[math/R] [security/R-digest]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2022-12-17 16:26:16 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-memoise) Updated 2.0.0 to 2.0.1

# memoise 2.0.1

# Version 2.0.0.9000

* Winston Chang is now the maintainer.

* The default value for the `hash` argument of `memoise()` is now
  taken with an indirection in case `memoise()` is called at the
  top-level of a namespace (r-lib/rlang#1177).

* Fixed a bug in `has_cache()` that caused it to get the value unnecessarily. (#123)
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-06-01 00:43:04 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-memoise) Updated 1.1.0 to 2.0.0

# Version 2.0.0

* Memoise now uses caching objects from the cachem package by default. These \ 
caches support automatic pruning, so that they won't grow indefinitely. The \ 
older-style cache objects in the memoise package are still supported, but we \ 
suggest using new-style caches from cachem. (#112)

* Name clashes between function arguments and variables defined when memoising
  no longer occur (@egnha, #43).

* Add Google Cloud Storage support via `cache_gcs()` (@MarkEdmondson1234, #59)

* Add `compress` option for non-memory caches (@coolbutuseless, #71).

* Use absolute path in cache file system backend, so user can change working
  directory after using relative path (@xhdong-umd, #51, #65)

* Add `drop_cache()` to drop the cached result for particular arguments
  (@richardkunze, #78)

* Suppress messages of `aws.s3::head_object` within `cache_s3`'s `cache_has_key`
  to avoid printing of 404 messages for new keys (@stelsemeyer, #96).
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
   2019-07-31 17:29:46 by Brook Milligan | Files touched by this commit (1) | Package updated
Log message:
R-memoise: update to canonical form of an R package.
   2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126)
Log message:
Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
   2018-04-07 22:51:59 by Min Sik Kim | Files touched by this commit (3)
Log message:
devel/R-memoise: Import version 1.1.0

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