-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
- I slightly botched print.data.table: check for knitr at sys.calls()-6 #6563 by aiming it at
patch-1.16.2instead ofmaster. Should we cherry-pick 9de2567 intomastertoo? See also: Master diverges from patch 1.16.2 #6587 - Do we want a more reliable secret handshake with
knitr? For example,-
Haveknitrsetoptions(knitr.is.auto.printing = TRUE)and detect that inprint.data.table -
signalCondition(<please_dont_autoprint_me>)fromprint.data.tableand haveknitrdetect that -
If you want the exact printing behavior of
data.table:::print.data.tableand want the result to be a table, you can register an S3 method onxfun::record_print(data.table doesn't have to import xfun).Originally posted by @yihui in fuse does not work for quote yihui/litedown#38 (comment)
See Solve the
knitrauto-printing problem by registering a method forknit_print#6589
-
- Do we want to petition R developers to allow returning invisibly from
[? The change is just one line, eval = 0 to eval = 200, but it does break R's owntests/reg-tests-2.Rout.save, makingmatrix(5:-6, 3)[2, invisible(3)]also invisible, and might break a lot of other stuff.
Metadata
Metadata
Assignees
Labels
No labels