Skip to content

Commit

Permalink
Updated test results
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/branches/R-noNULLenv@34875 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
murdoch committed Jun 29, 2005
1 parent 2f1b784 commit 5f756bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 0 additions & 5 deletions tests/isas-tests.Rout.save
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,6 @@ non-square matrix in: as.dist.default(x)
[1] TRUE
> res <- try(as.environment( x ), silent = TRUE)
> if(!inherits(res, 'try-error')) report(is.environment(res))
[1] FALSE
Error: x is not TRUE
> res <- try(as.expression( x ), silent = TRUE)
> if(!inherits(res, 'try-error')) report(is.expression(res))
[1] TRUE
Expand Down Expand Up @@ -429,8 +427,6 @@ Error: x is not TRUE
> if(!inherits(res, 'try-error'))
+ report({if(is.environment(x)) { cat('IS: ');all.equal(x, res, tol=0)
+ } else !isall.equal(x, res)})
[1] FALSE
Error: x is not TRUE
> res <- try(as.expression( x ), silent = TRUE)
> if(!inherits(res, 'try-error'))
+ report({if(is.expression(x)) { cat('IS: ');all.equal(x, res, tol=0)
Expand Down Expand Up @@ -549,7 +545,6 @@ Error: x is not TRUE
[1] TRUE
> f <- try(as.environment( x ), silent = TRUE)
> if(!inherits(f, 'try-error')) report(identical(f, as.environment( f )))
[1] TRUE
> f <- try(as.expression( x ), silent = TRUE)
> if(!inherits(f, 'try-error')) report(identical(f, as.expression( f )))
[1] TRUE
Expand Down
1 change: 1 addition & 0 deletions tests/primitive-funs.Rout.save
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Type 'q()' to quit R.
+ ".Primitive", ".Internal", ".External", ".Call",
+ ".External.graphics", ".Call.graphics",
+ ".C", ".Fortran", "symbol.C", "symbol.For",
+ "emptyenv", "baseenv",
+ "globalenv", "pos.to.env", "unclass",
+ "as.character", "as.environment",
+ ##maybe ? "gc", "gcinfo",
Expand Down

0 comments on commit 5f756bf

Please sign in to comment.