I am exploring the trelliscopejs package in R Notebook and having problems rendering the graphs. The graphs render in RStudio IDE but when I knit the Notebook I receive an error.
---
title: "R Notebook"
output:
html_document:
df_print: paged
---
```{r}
# libraries
library(ggplot2)
library(gapminder)
library(tidyverse)
library(trelliscopejs)
```
```{r}
gapminder_sub <- gapminder %>%
filter(country == "Australia" | country == "New Zealand")
# ------------------------
# part 1
#library(ggplot2)
#library(trelliscopejs)
# Create the plot
ggplot(gapminder_sub, aes(year, lifeExp)) +
geom_line() +
# Facet on country and continent
facet_trelliscope(~ country + continent )
```
kniting this code results in .....
Line 18 Error in path.expand(path) : invalide 'path' argument calls: <Anonymous> ... same_path -
> normalize_path -> normalizePath -> path.expand
@ reichmaj, were you able to resolve the issue? Did you find a solution? I am getting the same error while knitting a Rmarkdown with trelliscope inside. I checked trelliscopejs issue pages for if you have raised the issue as per @ cderv suggestion, but could not find any.. Thank you.