Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools::R_user_dir breaks usage with older R versions #2714

Closed
al-obrien opened this issue Jul 12, 2024 · 2 comments · Fixed by #2717
Closed

tools::R_user_dir breaks usage with older R versions #2714

al-obrien opened this issue Jul 12, 2024 · 2 comments · Fixed by #2717

Comments

@al-obrien
Copy link

The following additions of tools::R_user_dir in the pkgdown 2.1.0 version appears to break compatibility with R versions prior to 4.0

cache_dir <- path(tools::R_user_dir("pkgdown", "cache"), name, version)

cache_path <- dir_create(path(tools::R_user_dir("pkgdown", "cache"), "http"))

If these are needed, then perhaps the CRAN dependency reference needs adjustment, as it currently sits at >3.6?

@jayhesselberth
Copy link
Collaborator

Yeah, we'll either need to do one or the other (bump the required version or eliminate use of R_user_dir).

Wondering if this could also be related to the cache issues in #2696

@jayhesselberth
Copy link
Collaborator

Addressed in #2715

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 a pull request may close this issue.

2 participants