Open s-u opened 3 years ago
Thanks @s-u for posting this. I can verify that I've also encountered the same issue when trying to use facet_trelliscope
in a Rmarkdown report.
A second thanks to @s-u
Adding path="."
also fixed my issue when knitting to an html file- was getting an error: "The system cannot find the file specified"
Still seen in version 0.2.6
Sorry my attention regarding Trelliscope has been on a new version that you can find here. This package has a new data-frame-centric R interface and an improved UI as well. I'll be focusing updates and improvements there, so I encourage you to check it out.
@hafen yes, it took a while to unpick the various repos and CRAN packages, but we got there in the end. Do you have a timeframe for a stable release of the new version?
@datakid good question the R interface has converged and is solid and I would consider the package to be quite stable. I am holding off on CRAN for a bit while more people start trying it out.
It turned out that it was a R problem, not trelliscope or trelliscopejs. plotly had the same problem. https://github.com/plotly/plotly.R/issues/2353
One can fix it by installing the patched version of R. https://cran.r-project.org/bin/windows/base/rpatched.html
Awesome thanks for reporting!
The default
path=NULL
infacet_trelliscope()
seems to not be handled correctly and breaks in rmarkdown:Setting the default to
path="."
infacet_trelliscope()
fixes the issue, but presumably the default should be either changed or theNULL
somehow replaced with real path internally.As an aside the first obvious attempt at fix with
path=""
fails withso it really has to be forced to
"."
or else facets don't work.