Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nonstandard evaluation #6

Merged
merged 11 commits into from
Mar 26, 2015
Merged

Nonstandard evaluation #6

merged 11 commits into from
Mar 26, 2015

Conversation

robertzk
Copy link
Owner

No description provided.

@@ -36,20 +36,80 @@
super <- function(...) {
# TODO: (RK) Error on anonymous function calls.
fn <- as.character(sys.call(-1)[[1]])

env <- parent.frame(2)
if (identical(fn[1], "get")) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The get(fn, envir = super::multi_parent_env(parent.frame(level), parent_count)) # parent.frame(), parent_count)) call below translates to c("get", fn, ...)

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.92% when pulling a02a38e on nonstandard_evaluation into f98e47e on master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.92% when pulling a02a38e on nonstandard_evaluation into f98e47e on master.

robertzk added a commit that referenced this pull request Mar 26, 2015
@robertzk robertzk merged commit b3c52ca into master Mar 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants