Skip to content

Commit 5dc7720

Browse files
committed
qenv characteristics
1 parent e90d07b commit 5dc7720

File tree

3 files changed

+28
-5
lines changed

3 files changed

+28
-5
lines changed

R/qenv-constructor.R

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,18 @@
1111
#'
1212
#' @details
1313
#'
14-
#' `qenv()` instantiates a `qenv` with an empty environment.
15-
#' Any changes must be made by evaluating code in it with `eval_code` or `within`, thereby ensuring reproducibility.
14+
#' `qenv()` instantiates a with an empty `qenv` environment.
15+
#'
16+
#' @section `qenv` characteristics:
17+
#'
18+
#' A `qenv` inherits from the `environment` class, behaves like an environment, and has the
19+
#' following characteristics:
20+
#'
21+
#' - The environment is locked, and data modification is only possible through the `eval_code()`
22+
#' and `within()` functions.
23+
#' - It stores metadata about the code used to create the data.
24+
#' - Is immutable which means that each code evaluation does not modify the original `qenv` object
25+
#' directly.
1626
#'
1727
#' @name qenv
1828
#'

man/qenv.Rd

Lines changed: 15 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/qenv.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ vignette: >
1010

1111
## Introduction to `qenv`
1212

13-
A `qenv` object inherits from the `environment` class, behaves like an environment, and has the following characteristics:
13+
A `qenv` inherits from the `environment` class, behaves like an environment, and has the following characteristics:
1414

1515
- The environment is locked, and data modification is only possible through the `eval_code()` and `within()` functions.
1616
- It stores metadata about the code used to create the data.

0 commit comments

Comments
 (0)