Skip to content

Commit f865fc5

Browse files
osenanm7pr
andauthored
Update vignettes/qenv.Rmd
Co-authored-by: Marcin <133694481+m7pr@users.noreply.github.com> Signed-off-by: Oriol Senan <35930244+osenan@users.noreply.github.com>
1 parent 4bacccf commit f865fc5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

vignettes/qenv.Rmd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,9 +201,7 @@ cat(get_code(q_reproducible, names = "c"))
201201
```
202202

203203
As demonstrated, you can retrieve the code responsible for creating specific objects by passing the object's name to the `names` argument in `get_code`.
204-
In the scenarios where we have specific objects that are affected by side effects of previous calls, it can be
205-
passed to the qenv by adding # @linksto + the name of the object that is linked. This is important for setting options
206-
or controlling random number generation.
204+
In scenarios where certain objects are **affected by side effects** (such as setting options or controlling random number generation) from previous calls, this dependency can be specified in the `qenv`. You achieve this by adding the comment `# @linksto` followed by the name of the linked object.
207205

208206
```{r, get_code_linked}
209207
q_linked <- qenv()

0 commit comments

Comments
 (0)