dep_prev: Make later chunks depend on previous chunks

View source: R/cache.R

dep_prevR Documentation

Make later chunks depend on previous chunks

Description

This function can be used to build dependencies among chunks so that all later chunks depend on previous chunks, i.e. whenever the cache of a previous chunk is updated, the cache of all its later chunks will be updated.

Usage

dep_prev()

Value

NULL; the internal dependency structure is updated as a side effect.

References

https://yihui.org/knitr/demo/cache/

See Also

dep_auto


knitr documentation built on Nov. 2, 2023, 5:49 p.m.