You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> library(unitizer)
> unitize('val')
Possible matching files from "tests/unitizer":
1: validate.args.R
2: validate.R
unitizer> 2
Selected file: validate.R
+------------------------------------------------------------------------------+
| unitizer for: unitizer/validate.R |
+------------------------------------------------------------------------------+
Pass Fail New
Tokens Pass 22 - -
Tokens Fail 30 - -
Compound Expressions 9 - -
Other Return Modes 3 - -
Multi-line Stuff 5 - -
Language - - 4
.....................................
69 - 4
= Language =====================================================================
- New --------------------------------------------------------------------------
| The 4 tests in this section are new. Add tests to store ([Y]es, [N]o, [P]rev,
| [B]rowse, [R]erun, [Q]uit, [H]elp)?
> validate(quote(quote(a + b)), quote(x2 + x3))
Error in validate(quote(quote(a + b)), quote(x2 + x3)) :
`quote(x2 + x3)[[1]]` should be a call to `quote` (is a call to `+`)
unitizer> validate(quote(a + b), quote(x2 + x3))
[1] TRUE
unitizer> N
> x <- quote(quote(a + b))
> validate(x, quote(x2 + x3))
[1] TRUE
unitizer> R
| Toggling re-run mode ON for this unitizer
= Finalize Unitizer ============================================================
| You have 3 unreviewed tests; press `B` to browse tests, `U` to go to first
| unreviewed test.
| You made no changes to the unitizer so there is no need to update it. While
| unnecessary, you can force an update by typing O at the prompt.
| Re-run unitizer ([Y]es, [P]rev, [B]rowse, [U]nreviewed, [R]erun, f[O]rce)?
unitizer> Y
| unitizer unchanged.
Error in !all.equal(`attributes<-`(tests.parsed.prev[[i]], NULL), `attributes<-`(tests.parsed[[i]], :
invalid argument type
| Unexpectedly exited before storing unitizer; tests were not saved or changed.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: