Fong Chun Chan

Results 8 comments of Fong Chun Chan

> What is the advantage of using this system instead of source() at the appropriate place? The advantage becomes more apparent when you have multiple logic chunks in your `test_chunk.R`....

> related: > > @yihui (the [author](https://github.com/yihui/knitr/graphs/contributors) of [`knitr`](https://github.com/yihui/knitr)) [wrote](https://disq.us/p/gqnea1): > > > I think it is legitimate to simply source() the script. There is no need to read_chunk(). If...

> So, a algorithm to implement the requested feature would be: > 1. The user types cc when the cursor is over a chunk. > 1. If the chunk is...

Has anyone figured out how to achieve this through a configuration without having to directly remove those lines of code that @andrew-vant mentioned above?

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.

Did you find the solution to this?

+1 Ran into the same issue on my end. Got around by using `as.data.frame()`, but there shouldn't be any reason why it can't take a tibble directly?

For posterity purposes, > ```lua > -- extend markdown parser to rmd files > local ft_to_parser = require('nvim-treesitter.parsers').filetype_to_parsername > ft_to_parser.rmd = 'markdown' > ``` `filetype_to_parsername` is not deprecated. The new...