Skip to content

Commit

Permalink
add a comment for my future self
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed May 21, 2017
1 parent 68206bf commit 976a3f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/testit.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
#' })
assert = function(fact, ...) {
mc = match.call()
# match.call() uses the arg order in the func def, so fact is always 1st arg
fact = NULL
if (is.character(mc[[2]])) {
fact = mc[[2]]; mc = mc[-2]
Expand Down

0 comments on commit 976a3f0

Please sign in to comment.