Closed JohnMount closed 5 years ago
Found the issue radix
sort method plus knitr
. The following Rmarkdown shows the problem.
---
title: "Runs in console, but won't knit"
output: html_document
---
```{r, error=TRUE}
ct = data.frame(
variable = c("privée", "publique"),
value = c("privée", "publique"),
stringsAsFactors = FALSE
)
do.call(order, as.list(ct))
do.call(order, c(as.list(ct), list(method = "radix")))
Fixed our issue with https://github.com/WinVector/wrapr/commit/53ed02e9848e36b754af1726848233641c7ed1ea and filed underlying issue as https://github.com/yihui/knitr/issues/1690 .
From: https://github.com/WinVector/cdata/issues/6 .
Only happens in
knitr
orreprex
contexts:Created on 2019-03-25 by the reprex package (v0.2.1)