Skip to content

Allow to place all INPUT_cache folder into a single one when using cache for multi document project #2603

Open

Description

@cderv

This came up from: quarto-dev/quarto-cli#13494 (reply in thread)

It would be interesting for Quarto project using cache, that may have multiple documents, to be able to centralize all INPUT_cache folder created by rmarkdown configuration of knitr in a single root directory folder different than the default root of the project.

Possibly something like cache.root-dir option to come before cache.path in file.path(<cache.root-dir>/<cache.path>)

As this is again some path resolution and manipulation, this is need to be checked that it would work.
Looking closer to current cache logic and cache.path is important, as maybe this need to be relative to the document always (and not root.dir or else).

Activity

  1. added
    theme: knitr
    on Oct 3, 2025
  2. moved this from Backlog to To discuss / To plan in R Markdown Team Projectson Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    theme: knitr

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions