-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
709265f
commit 1fe8b18
Showing
7 changed files
with
22 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#' Access environment included in `qenv` | ||
#' | ||
#' The access of environment included in `qenv@env` allows to e.g. list object names included in `qenv@env` slot. | ||
#' The access of environment included in the `qenv` that contains all data objects. | ||
#' | ||
#' @param object (`qenv`) | ||
#' @param object (`qenv`). | ||
#' | ||
#' @return An `environment` stored in `qenv@env` slot. | ||
#' @return An `environment` stored in `qenv` slot with all data objects. | ||
#' | ||
#' @examples | ||
#' q <- qenv() | ||
|
@@ -13,7 +13,8 @@ | |
#' b <- data.frame(x = 1:10) | ||
#' }) | ||
#' get_env(q1) | ||
#' ls(get_env(q1)) | ||
#' | ||
#' ls(get_env(q1)) # list objects in the environment | ||
#' | ||
#' @aliases get_env,qenv-method | ||
#' @aliases get_env,qenv.error-method | ||
|
@@ -23,10 +24,6 @@ setGeneric("get_env", function(object) { | |
standardGeneric("get_env") | ||
}) | ||
|
||
setMethod("get_env", "qenv", function(object) { | ||
object@.xData | ||
}) | ||
setMethod("get_env", "qenv", function(object) [email protected]) | ||
|
||
setMethod("get_env", "qenv.error", function(object) { | ||
object | ||
}) | ||
setMethod("get_env", "qenv.error", function(object) object) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.