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.7)kwb.context_0.1.0.zip(r-4.6)kwb.context_0.1.0.zip(r-4.5)
kwb.context_0.1.0.tgz(r-4.6-any)kwb.context_0.1.0.tgz(r-4.5-any)
kwb.context_0.1.0.tar.gz(r-4.7-any)kwb.context_0.1.0.tar.gz(r-4.6-any)
kwb.context_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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 from:55f830caf9. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 118 | ||
| source / vignettes | OK | 142 | ||
| linux-release-x86_64 | NOTE | 113 | ||
| macos-release-arm64 | NOTE | 106 | ||
| macos-oldrel-arm64 | NOTE | 71 | ||
| windows-devel | NOTE | 68 | ||
| windows-release | NOTE | 75 | ||
| windows-oldrel | NOTE | 65 | ||
| wasm-release | OK | 89 |
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 |
