Skip to content

Add RETICULATE_MAX_CACHE_AGE_DAYS environment variable - #1915

Merged
t-kalinowski merged 3 commits into
mainfrom
fix/max-cache-age-env
Jul 30, 2026
Merged

Add RETICULATE_MAX_CACHE_AGE_DAYS environment variable#1915
t-kalinowski merged 3 commits into
mainfrom
fix/max-cache-age-env

Conversation

@t-kalinowski

Copy link
Copy Markdown
Member

Closes #1905.

CRAN requested an environment-variable counterpart to
reticulate.max_cache_age.

This adds RETICULATE_MAX_CACHE_AGE_DAYS, interpreted as a possibly fractional
number of days. It takes precedence over the R option, while the default remains
120 days.

The change updates ?py_require and NEWS and adds a regression covering
environment-variable precedence and cache clearing.

@t-kalinowski
t-kalinowski marked this pull request as ready for review July 30, 2026 16:53
@t-kalinowski
t-kalinowski merged commit 07ccb3f into main Jul 30, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add env var counterpart to options(reticulate.max_cache_age)

1 participant