Skip to content

Commit 0b42371

Browse files
committed
document x
1 parent 9fad8dc commit 0b42371

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed

R/qenv-extract.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
#' @rdname qenv
2-
#' @order 2
31
#'
42
#' @section Subsetting:
5-
#' `x[names]` subsets objects in `qenv` environment and limit the code to the necessary to build limited objects.
3+
#' `x[names]` subsets objects in `qenv` environment and limit the code to the necessary needed to build limited objects.
64
#'
75
#' @param names (`character`) names of objects included in `qenv` to subset
6+
#' @param x (`qenv`)
87
#'
98
#' @examples
109
#'
@@ -14,6 +13,8 @@
1413
#' q["a"]
1514
#' q[c("a", "b")]
1615
#'
16+
#' @rdname qenv
17+
#'
1718
#' @export
1819
`[.qenv` <- function(x, names) {
1920
checkmate::assert_class(names, "character")

man/qenv.Rd

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

0 commit comments

Comments
 (0)