teal.code is an R library providing tools to store code and an execution environment associated with it. The features include:
- an object
qenvfor storing code and an execution environment which integrates well with
shiny reactivesfor use in
shinyapplications whose outputs require reproducibility (i.e. the code used to generate them)
- ability to chain and join
qenvobjects together to provide fine-grained control over executed code
- automatic error and warning handling for executed code
teal.code also ships a
shiny module that helps inspect the stored code as well as messages, warnings and error messages resulting from evaluation via
shiny web application.
For releases from August 2022 it is recommended that you create and use a Github PAT to install the latest version of this package. Once you have the PAT, run the following:
Sys.setenv(GITHUB_PAT = "your_access_token_here") if (!require("remotes")) install.packages("remotes") remotes::install_github("insightsengineering/teal.code@*release")
A stable release of all
NEST packages from June 2022 is also available here.
You might need to manually install all of the package dependencies before installing this package as without the
dependencies = FALSE argument to
install_github it may produce an error.