Skip to content

Commit

Permalink
Introduce teal_data class (#153)
Browse files Browse the repository at this point in the history
Necessary S4 exports
  • Loading branch information
gogonzo committed Oct 18, 2023
1 parent 38a3ff1 commit 4eebc84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ URL: https://insightsengineering.github.io/teal.code/,
https://github.com/insightsengineering/teal.code
BugReports: https://github.com/insightsengineering/teal.code/issues
Depends:
R (>= 4.0)
R (>= 4.0),
methods
Imports:
checkmate (>= 2.1.0),
grDevices,
lifecycle (>= 0.2.0),
methods,
rlang (>= 1.1.0),
shiny (>= 1.6.0),
styler (>= 1.2.0)
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export(get_var)
export(get_warnings)
export(join)
export(new_qenv)
exportClasses(qenv)
exportMethods("[[")
exportMethods(concat)
exportMethods(eval_code)
Expand Down
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# teal.code 0.4.1.9003

### Miscellaneous

* Exported the `qenv` class from the package.
* The `@code` field in the `qenv` class now holds `character`, not `expression`.

# teal.code 0.4.1
Expand Down
1 change: 1 addition & 0 deletions R/qenv-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#' @slot warnings (`character`) the warnings output when evaluating the code
#' @slot messages (`character`) the messages output when evaluating the code
#' @keywords internal
#' @exportClass qenv
setClass(
"qenv",
slots = c(env = "environment", code = "character", id = "integer", warnings = "character", messages = "character"),
Expand Down

0 comments on commit 4eebc84

Please sign in to comment.