demoR
demoR copied to clipboard
(this package has been replaced by "flair")
Hi friends! thank you for a great package! it is awesome. i noticed that there are some issues with demoR code in xaringan; namely, that any leading whitespace is stripped...
In the [official vignette](https://github.com/KKulma/demoR.git), the suggested way of referring to code chunks ( ```{r, include = FALSE, demo = "how_to_pipe"}``` ) returns errors. However, if we simply name the code...
undocumented arguments: - [ ] `code_from_editor()` - `.contents` (has `@param` tag, but no description), `label` - [ ] `demo_code()` - `shatter` - [ ] `hlt_regexp.default()` - `. string`, `pattern`, `code`...
> checking R code for possible problems ... NOTE Found the following assignments to the global environment: File ‘demoR/R/zzz.R’: assign(options$demo, x, envir = .GlobalEnv) Hadley's recommendation (http://r-pkgs.had.co.nz/check.html): > Don’t use...
> checking S3 generic/method consistency ... WARNING hlt_regexp: function(.string, pattern, code, ...) hlt_regexp.demo_code: function(x, ...) > See section ‘Generic functions and methods’ in the ‘Writing R Extensions’ manual. The recommendation...
I'm having problems installing the packege from GitHub: ``` > devtools::install_github("kbodwin/demoR") Downloading GitHub repo kbodwin/demoR@master √ checking for file 'C:\Users\kkulma\AppData\Local\Temp\Rtmpa24Xua\remotes102c18d325f2\kbodwin-demoR-968292a/DESCRIPTION' ... - preparing 'demoR': √ checking DESCRIPTION meta-information ... -...
I run an example from the vignette in the README. However, I get errors. Here is a reproducible minimal example. ```` ```{r, include = FALSE, demo = "how_to_pipe"} iris %>%...
need a function to layer syntax highlighting under custom highlighting
We need to add an option that preserves the automatic syntax highlighting, unless it is overridden by a `hlt_*` function.
Saw your talk at JSM - I like the idea of this package. I happen to currently write lectures in an Rmd and then toggle between creating a `output =...