Comments (3)
Do you see this only with pagedown output ? Or is it the same output in R console when you run the gt code ?
Why open the issue in this repo ? Your example does not even use pagedown.
You have some Q&A forum dedicated to generic question (like https://community.rstudio.com/). Wouldn't it be better to ask there for gt community to help ?
from pagedown.
Yes apologies, new to Github and think I've posted this issue in the wrong place! The general Q&A forum looks much more appropriate.
If interested, it is in the R console that the problem occurred, but by adding ungroup
prior to passing to gt()
the problem was resolved.
from pagedown.
final_table <- df %>%
group_by(Unit, Course) %>%
summarise_at(.vars = c("RR", "Score"), .funs = ~mean(., na.rm = T)) %>%
arrange(desc(Score)) %>%
gt() %>%
cols_label(
RR = ("Response Rate %"),
Score = "Mean Score") %>%
opt_align_table_header(align = "left") %>%
fmt_number(columns = Score) %>%
fmt_number(columns = RR, scale_by = 100/1, decimals = F) %>%
cols_width(
Unit ~ px(150),
RR ~px(150),
Score ~px(150)) %>%
cols_align("center") %>%
data_color(
columns = Score,
colors = scales::col_numeric(
palette = c(
"red","orange","green"),
domain = c(3,3.5,4.0,4.5,5)))
#> Error in df %>% group_by(Unit, Course) %>% summarise_at(.vars = c("RR", : could not find function "%>%"
Created on 2023-07-08 with reprex v2.0.2
from pagedown.
Related Issues (20)
- :::concise doesn't play nice with chrome_print HOT 7
- TOC with multiple pages not working, if build in `default.css` is not used HOT 1
- Some dots (leaders) appearing in code chunk when LOF is on HOT 1
- ETA of Pagedown for Quarto? HOT 1
- aside chunk behaviour/positioning HOT 1
- The tippy package is not working when using `html_paged` output HOT 2
- Paged.js specifications not supported in inline CSS chunks HOT 1
- Upkeep for pagedown
- `usethis::use_tidy_coc()`
- Editing div.date to allow for hyperlinked image
- chrome_print PDF without figure shows WebGL is not supported by your browser
- TOC with more than a page stops the render. HOT 7
- Margin at-rules not applied using chrome_print() HOT 3
- Problème de mise en page pour mon CV après version 1.2.5042 HOT 15
- sidebar content for multiple pages - resume css
- How to specify CHROME arg "--user-agent" in extra_args in order to mimic a non-headless browser? HOT 3
- `chrome_print()` hangs when printing html with maths produced by Quarto HOT 6
- Last rows of long tables are hidden HOT 1
- Adjusting sidebar text and margins
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagedown.