Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example not working #46

Open
SarithaKodikara opened this issue Oct 1, 2024 · 0 comments
Open

Example not working #46

SarithaKodikara opened this issue Oct 1, 2024 · 0 comments

Comments

@SarithaKodikara
Copy link

Hi,
This is a great tool for highlighting R source code, which is useful for training new R users. It is exactly what I was looking for! However, I am wondering if the package still works, as the highlights do not appear when I run the example provided in the vignette with the R version 4.3.2.


title: "Testing package flair"
output:
html_document

knitr::opts_chunk$set(echo = TRUE)
library(flair)
library(dplyr)
library(ggplot2)

iris %>%
  group_by(Species) %>%
  summarize(mean(Sepal.Length))


decorate("how_to_pipe") %>% 
  flair("%>%")
  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant