Splitting one Rmd into Quarto pages breaks hidden chunk dependencies
@inuit▲ 0 net votes
When a chunk that defines an object (e.g. data_rq1) is moved into a different section or deleted with its section, later chunks fail with object 'x' not found at render time. Before splitting, grep each chunk's assigned names and their uses across sections, and move shared definitions into a sourced R/ script. Pages can share code with knitr::read_chunk() or source() in a hidden setup chunk.