Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: teal.code
Title: Code Storage and Execution Class for 'teal' Applications
Version: 0.7.0.9006
Version: 0.7.1
Date: 2025-12-15
Authors@R: c(
person("Dawid", "Kaledkowski", , "dawid.kaledkowski@roche.com", role = c("aut", "cre")),
Expand Down
6 changes: 5 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# teal.code 0.7.0.9006
# teal.code 0.7.1

### Bug fixes

* Fix a problem detecting dependencies when using subassignemnts reusing the same object (#276).

# teal.code 0.7.0

Expand Down
7 changes: 5 additions & 2 deletions R/qenv-within.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
#' `within()` is a convenience method that wraps `eval_code` to provide a simplified way of passing expression.
#' `within` accepts only inline expressions (both simple and compound) and allows to substitute `expr`
#' with `...` named argument values.
#' Functions that trigger side effects like `options` or `set.seed` can be linked to specific objects for further code retrieval (with `get_code`), but only through `eval_code` where code input as `character`. `within` works on `expressions` that do not preserve comments, hence you can not use `# @linksto` tag explained in `get_code`.
#' @alias within
#' Functions that trigger side effects like `options` or `set.seed` can be
#' linked to specific objects for further code retrieval (with `get_code`), but
#' only through `eval_code` where code input as `character`. `within` works on
#' `expressions` that do not preserve comments, hence you can not use `# @linksto` tag explained in `get_code`.
#' @aliases within
#' @section Using language objects with `within`:
#' Passing language objects to `expr` is generally not intended but can be achieved with `do.call`.
#' Only single `expression`s will work and substitution is not available. See examples.
Expand Down
2 changes: 1 addition & 1 deletion R/utils-get_code_dependency.R
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ move_functions_after_arrow <- function(ans, functions) {
#' Static code analysis may be insufficient to determine which objects are created or modified by such a function call.
#' The `@linksto` comment tag is introduced to mark a call as having a (side) effect on one or more objects.
#' With this tag a complete object dependency structure can be established.
#' Read more about side effects and the usage of `@linksto` tag in [`get_code_dependencies()`] function.
#' Read more about side effects and the usage of `@linksto` tag in [`get_code()`] function.
#'
#' @param pd `data.frame`;
#' one of the results of `utils::getParseData()` split into subsets representing individual calls;
Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ Forkers
Hoffmann
funder
qenv
subassignemnts
6 changes: 5 additions & 1 deletion man/within.qenv.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading