Cache the results of a function so that when you call it again with the same arguments it returns the pre-computed value.
copied from cf-staging / r-memoiseconda install conda-forge::r-memoise
conda install conda-forge/label/cf201901::r-memoise
conda install conda-forge/label/cf202003::r-memoise
conda install conda-forge/label/gcc7::r-memoise