Closed HenrikBengtsson closed 8 years ago
Hmm... it works in interactive mode
> sQuote(R.utils::withCapture(x <- 1L))
[1] "ā> x <- 1L\nā"
but not in non-interactive / batch mode:
$ Rscript -e "sQuote(R.utils::withCapture(x <- 1L))"
[1] "ā> x <- 1\nā"
The latter is how the vignette (and README) is built.
Solved manually in the vignette. Moved the underlying issue to https://github.com/HenrikBengtsson/R.utils/issues/58.
Integers
5000L
in code snippets are displayed as5000
. This is due to a limitation inR.utils::withCapture()
;which in turn is due to a limitation to how
print()
outputs integers;