Last active
April 29, 2020 04:57
-
-
Save thebioengineer/12c03a21c8ab66b5e1b16495ec78c24f to your computer and use it in GitHub Desktop.
Strange RStudio Notebooks behavior
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
output: html_document | |
editor_options: | |
chunk_output_type: inline | |
--- | |
```{r setup, include=FALSE} | |
knitr::opts_chunk$set(echo = TRUE) | |
library(dplyr) | |
# remotes::install_github("thebioengineer/colortable") | |
library(colortable) | |
``` | |
```{r cars} | |
z <- head(cars) %>% | |
mutate(speed = color_vctr(speed, text_color = c("green", "red","orange", rep("blue", 3)))) | |
z | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment