CRAN
memoise 1.1.0
Memoisation of Functions
Released Apr 21, 2017 by Jim Hester
This package can be loaded by Renjin but 1 out 121 tests failed.
An older version of this package is
more compatible with Renjin.
Dependencies
Cache the results of a function so that when you call it again with the same arguments it returns the pre-computed value.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>memoise</artifactId> <version>1.1.0-b32</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:memoise')
Test Results
This package was last tested against Renjin 0.9.2692 on Oct 16, 2018.
- filesystem.two_functions_with_the_same_arguments_produce_different_caches_(#38)_E1
- filesystem.two_functions_with_the_same_arguments_produce_different_caches_(#38)_E2
- filesystem.two_functions_with_the_same_arguments_produce_different_caches_(#38)_E3
- filesystem.using_a_filesystem_cache_works_E1
- filesystem.using_a_filesystem_cache_works_E10
- filesystem.using_a_filesystem_cache_works_E11
- filesystem.using_a_filesystem_cache_works_E2
- filesystem.using_a_filesystem_cache_works_E3
- filesystem.using_a_filesystem_cache_works_E4
- filesystem.using_a_filesystem_cache_works_E5
- filesystem.using_a_filesystem_cache_works_E6
- filesystem.using_a_filesystem_cache_works_E7
- filesystem.using_a_filesystem_cache_works_E8
- filesystem.using_a_filesystem_cache_works_E9
- forget-examples
- has_cache-examples
- is.memoised-examples
- memoise-examples
- memoise.arguments_are_evaluated_before_hashing_E1
- memoise.arguments_are_evaluated_before_hashing_E2
- memoise.arguments_are_evaluated_before_hashing_E3
- memoise.can_memoise_anonymous_function_E1
- memoise.can_memoise_anonymous_function_E2
- memoise.can_memoise_anonymous_function_E3
- memoise.can_memoise_anonymous_function_E4
- memoise.can_memoise_anonymous_function_E5
- memoise.can_memoise_primitive_E1
- memoise.can_memoise_primitive_E2
- memoise.default_arguments_are_evaluated_correctly_E1
- memoise.default_arguments_are_evaluated_correctly_E2
- memoise.default_arguments_are_evaluated_correctly_E3
- memoise.default_arguments_are_evaluated_correctly_E4
- memoise.default_arguments_are_evaluated_correctly_E5
- memoise.default_arguments_are_evaluated_correctly_E6
- memoise.default_arguments_are_evaluated_correctly_E7
- memoise.default_arguments_are_evaluated_correctly_E8
- memoise.default_arguments_are_used_for_hash_E1
- memoise.default_arguments_are_used_for_hash_E2
- memoise.default_arguments_are_used_for_hash_E3
- memoise.default_arguments_are_used_for_hash_E4
- memoise.default_arguments_are_used_for_hash_E5
- memoise.default_arguments_are_used_for_hash_E6
- memoise.default_arguments_are_used_for_hash_E7
- memoise.dot_arguments_are_used_for_hash_E1
- memoise.dot_arguments_are_used_for_hash_E10
- memoise.dot_arguments_are_used_for_hash_E11
- memoise.dot_arguments_are_used_for_hash_E12
- memoise.dot_arguments_are_used_for_hash_E2
- memoise.dot_arguments_are_used_for_hash_E3
- memoise.dot_arguments_are_used_for_hash_E4
- memoise.dot_arguments_are_used_for_hash_E5
- memoise.dot_arguments_are_used_for_hash_E6
- memoise.dot_arguments_are_used_for_hash_E7
- memoise.dot_arguments_are_used_for_hash_E8
- memoise.dot_arguments_are_used_for_hash_E9
- memoise.interface_of_wrapper_matches_interface_of_memoised_function_E1
- memoise.interface_of_wrapper_matches_interface_of_memoised_function_E2
- memoise.interface_of_wrapper_matches_interface_of_memoised_function_E3
- memoise.is_memoised_E1
- memoise.is_memoised_E2
- memoise.is_memoised_E3
- memoise.it_does_have_namespace_clashes_with_internal_memoise_symbols_E1
- memoise.it_does_have_namespace_clashes_with_internal_memoise_symbols_E2
- memoise.it_evaluates_arguments_in_proper_environment_E1
- memoise.it_evaluates_arguments_in_proper_environment_E2
- memoise.memoisation_depends_on_argument_E1
- memoise.memoisation_depends_on_argument_E10
- memoise.memoisation_depends_on_argument_E11
- memoise.memoisation_depends_on_argument_E2
- memoise.memoisation_depends_on_argument_E3
- memoise.memoisation_depends_on_argument_E4
- memoise.memoisation_depends_on_argument_E5
- memoise.memoisation_depends_on_argument_E6
- memoise.memoisation_depends_on_argument_E7
- memoise.memoisation_depends_on_argument_E8
- memoise.memoisation_depends_on_argument_E9
- memoise.memoisation_works_E1
- memoise.memoisation_works_E10
- memoise.memoisation_works_E11
- memoise.memoisation_works_E12
- memoise.memoisation_works_E13
- memoise.memoisation_works_E2
- memoise.memoisation_works_E3
- memoise.memoisation_works_E4
- memoise.memoisation_works_E5
- memoise.memoisation_works_E6
- memoise.memoisation_works_E7
- memoise.memoisation_works_E8
- memoise.memoisation_works_E9
- memoise.printing_a_memoised_function_prints_the_original_definition_E1
- memoise.printing_a_memoised_function_prints_the_original_definition_E2
- memoise.symbol_collision_E1
- memoise.symbol_collision_E2
- memoise.symbol_collision_E3
- memoise.symbol_collision_E4
- memoise.symbol_collision_E5
- memoise.symbol_collision_E6
- memoise.symbol_collision_E7
- memoise.symbol_collision_E8
- memoise.visibility_E1
- memoise.visibility_E2
- memoise.visibility_E3
- memoise.visibility_E4
- missing.it_works_with_missing_arguments_E1
- missing.it_works_with_missing_arguments_E2
- missing.it_works_with_missing_arguments_E3
- missing.it_works_with_missing_arguments_E4
- missing.it_works_with_missing_arguments_E5
- s3.using_a_s3_cache_works
- testthat
- timeout-examples
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E1
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E10
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E2
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E3
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E4
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E5
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E6
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E7
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E8
- timeout.it_stays_the_same_if_not_enough_time_has_passed_E9