Package: kwb.context 0.1.0
kwb.context: Get the Function Call Context and Work with it
This package contains functions to get the full tree of function calls that is evaluated when calling a function. The idea is to reuse some of these calls with modified arguments, e.g. to replot a specific plot that was created by an inner plot function that was called from an outer function.
Authors:
kwb.context_0.1.0.tar.gz
kwb.context_0.1.0.zip(r-4.5)kwb.context_0.1.0.zip(r-4.4)kwb.context_0.1.0.zip(r-4.3)
kwb.context_0.1.0.tgz(r-4.4-any)kwb.context_0.1.0.tgz(r-4.3-any)
kwb.context_0.1.0.tar.gz(r-4.5-noble)kwb.context_0.1.0.tar.gz(r-4.4-noble)
kwb.context_0.1.0.tgz(r-4.4-emscripten)kwb.context_0.1.0.tgz(r-4.3-emscripten)
kwb.context.pdf |kwb.context.html✨
kwb.context/json (API)
NEWS
# Install 'kwb.context' in R: |
install.packages('kwb.context', repos = c('https://kwb-r.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/kwb-r/kwb.context/issues
Last updated 3 years agofrom:55f830caf9. Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 25 2024 |
R-4.5-win | NOTE | Oct 25 2024 |
R-4.5-linux | NOTE | Oct 25 2024 |
R-4.4-win | NOTE | Oct 25 2024 |
R-4.4-mac | NOTE | Oct 25 2024 |
R-4.3-win | OK | Oct 25 2024 |
R-4.3-mac | OK | Oct 25 2024 |
Exports:example_crosslineexample_one_plotexample_three_plotsgetContextgetFunctionCallinitContextprintContextrecall
Dependencies:kwb.defaultkwb.utils
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Example function calling abline | example_crossline |
Example function calling example_crossline twice | example_one_plot |
Example function calling example_one_plot three times | example_three_plots |
Get the context tree (currently from a global variable "CONTEXT'n'") | getContext |
Get a function call from the context tree | getFunctionCall |
Initialise the variable storing the full function call context | initContext |
Print the context of a function call | printContext |
Recall a function call that is stored in the context tree | recall |