fix a link (winbuilder)
diff --git a/docs/awesome_table_in_html.Rmd b/docs/awesome_table_in_html.Rmd
index fd5ee57..1d2e263 100644
--- a/docs/awesome_table_in_html.Rmd
+++ b/docs/awesome_table_in_html.Rmd
@@ -179,7 +179,7 @@
```
## Visualize data with Viridis Color
-This package also comes with a few helper functions, including `spec_color`, `spec_font_size` & `spec_angle`. These functions can rescale continuous variables to certain scales. For example, function `spec_color` would map a continuous variable to any [viridis color palettes](https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html). It offers a very visually impactful representation in a tabular format.
+This package also comes with a few helper functions, including `spec_color`, `spec_font_size` & `spec_angle`. These functions can rescale continuous variables to certain scales. For example, function `spec_color` would map a continuous variable to any [viridis color palettes](https://CRAN.R-project.org/package=viridisLite). It offers a very visually impactful representation in a tabular format.
```{r}
iris[1:10, ] %>%
diff --git a/docs/awesome_table_in_html.html b/docs/awesome_table_in_html.html
index 3eb165e..012ccdd 100644
--- a/docs/awesome_table_in_html.html
+++ b/docs/awesome_table_in_html.html
@@ -2097,7 +2097,7 @@
</div>
<div id="visualize-data-with-viridis-color" class="section level2">
<h2>Visualize data with Viridis Color</h2>
-<p>This package also comes with a few helper functions, including <code>spec_color</code>, <code>spec_font_size</code> & <code>spec_angle</code>. These functions can rescale continuous variables to certain scales. For example, function <code>spec_color</code> would map a continuous variable to any <a href="https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html">viridis color palettes</a>. It offers a very visually impactful representation in a tabular format.</p>
+<p>This package also comes with a few helper functions, including <code>spec_color</code>, <code>spec_font_size</code> & <code>spec_angle</code>. These functions can rescale continuous variables to certain scales. For example, function <code>spec_color</code> would map a continuous variable to any <a href="https://CRAN.R-project.org/package=viridisLite">viridis color palettes</a>. It offers a very visually impactful representation in a tabular format.</p>
<pre class="r"><code>iris[1:10, ] %>%
mutate_if(is.numeric, function(x) {
cell_spec(x, "html", bold = T, color = spec_color(x, end = 0.9),
@@ -2310,8 +2310,8 @@
<p>An aliased function <code>text_spec</code> is also provided for a more literal writing experience. In HTML, there is no difference between these two functions.</p>
<pre class="r"><code>sometext <- strsplit(paste0(
"You can even try to make some crazy things like this paragraph. ",
- "It seems to be a useless feature at this moment but who cares. ",
- "It is so fun to play with color that I can't stop. ;D"
+ "It seems to be a useless feature at this moment but it's so cool ",
+ "that nobody can resist. ;)"
), " ")[[1]]
text_formatted <- paste(
text_spec(sometext, "html", color = spec_color(1:length(sometext), end = 0.9),
@@ -2319,7 +2319,7 @@
collapse = " ")
# To display the text, type `r text_formatted` outside of the chunk</code></pre>
-<p><span style="color: rgba(68, 1, 84, 1);font-size: 5px;">You</span> <span style="color: rgba(70, 10, 93, 1);font-size: 5px;">can</span> <span style="color: rgba(72, 20, 102, 1);font-size: 6px;">even</span> <span style="color: rgba(72, 28, 110, 1);font-size: 6px;">try</span> <span style="color: rgba(72, 36, 117, 1);font-size: 7px;">to</span> <span style="color: rgba(71, 43, 122, 1);font-size: 7px;">make</span> <span style="color: rgba(70, 51, 127, 1);font-size: 7px;">some</span> <span style="color: rgba(68, 58, 131, 1);font-size: 8px;">crazy</span> <span style="color: rgba(65, 65, 134, 1);font-size: 8px;">things</span> <span style="color: rgba(62, 73, 137, 1);font-size: 9px;">like</span> <span style="color: rgba(60, 80, 139, 1);font-size: 9px;">this</span> <span style="color: rgba(57, 87, 140, 1);font-size: 9px;">paragraph.</span> <span style="color: rgba(53, 94, 141, 1);font-size: 10px;">It</span> <span style="color: rgba(50, 100, 142, 1);font-size: 10px;">seems</span> <span style="color: rgba(48, 105, 142, 1);font-size: 11px;">to</span> <span style="color: rgba(45, 112, 142, 1);font-size: 11px;">be</span> <span style="color: rgba(43, 117, 142, 1);font-size: 11px;">a</span> <span style="color: rgba(41, 123, 142, 1);font-size: 12px;">useless</span> <span style="color: rgba(38, 130, 142, 1);font-size: 12px;">feature</span> <span style="color: rgba(36, 135, 142, 1);font-size: 13px;">at</span> <span style="color: rgba(34, 141, 141, 1);font-size: 13px;">this</span> <span style="color: rgba(32, 146, 140, 1);font-size: 14px;">moment</span> <span style="color: rgba(31, 153, 138, 1);font-size: 14px;">but</span> <span style="color: rgba(31, 159, 136, 1);font-size: 14px;">who</span> <span style="color: rgba(32, 163, 134, 1);font-size: 15px;">cares.</span> <span style="color: rgba(36, 170, 131, 1);font-size: 15px;">It</span> <span style="color: rgba(41, 175, 127, 1);font-size: 16px;">is</span> <span style="color: rgba(49, 181, 123, 1);font-size: 16px;">so</span> <span style="color: rgba(59, 187, 117, 1);font-size: 16px;">fun</span> <span style="color: rgba(70, 192, 111, 1);font-size: 17px;">to</span> <span style="color: rgba(83, 197, 105, 1);font-size: 17px;">play</span> <span style="color: rgba(95, 202, 97, 1);font-size: 18px;">with</span> <span style="color: rgba(110, 206, 88, 1);font-size: 18px;">color</span> <span style="color: rgba(123, 209, 81, 1);font-size: 18px;">that</span> <span style="color: rgba(138, 214, 71, 1);font-size: 19px;">I</span> <span style="color: rgba(155, 217, 60, 1);font-size: 19px;">can’t</span> <span style="color: rgba(171, 220, 50, 1);font-size: 20px;">stop.</span> <span style="color: rgba(187, 223, 39, 1);font-size: 20px;">;D</span></p>
+<p><span style="color: rgba(68, 1, 84, 1);font-size: 5px;">You</span> <span style="color: rgba(71, 13, 96, 1);font-size: 6px;">can</span> <span style="color: rgba(72, 23, 105, 1);font-size: 6px;">even</span> <span style="color: rgba(72, 32, 114, 1);font-size: 6px;">try</span> <span style="color: rgba(71, 43, 122, 1);font-size: 7px;">to</span> <span style="color: rgba(69, 53, 129, 1);font-size: 8px;">make</span> <span style="color: rgba(67, 62, 133, 1);font-size: 8px;">some</span> <span style="color: rgba(64, 70, 136, 1);font-size: 8px;">crazy</span> <span style="color: rgba(60, 79, 138, 1);font-size: 9px;">things</span> <span style="color: rgba(56, 88, 140, 1);font-size: 10px;">like</span> <span style="color: rgba(53, 96, 141, 1);font-size: 10px;">this</span> <span style="color: rgba(49, 103, 142, 1);font-size: 10px;">paragraph.</span> <span style="color: rgba(46, 111, 142, 1);font-size: 11px;">It</span> <span style="color: rgba(42, 118, 142, 1);font-size: 12px;">seems</span> <span style="color: rgba(40, 125, 142, 1);font-size: 12px;">to</span> <span style="color: rgba(37, 131, 142, 1);font-size: 12px;">be</span> <span style="color: rgba(34, 139, 141, 1);font-size: 13px;">a</span> <span style="color: rgba(32, 146, 140, 1);font-size: 14px;">useless</span> <span style="color: rgba(31, 154, 138, 1);font-size: 14px;">feature</span> <span style="color: rgba(31, 161, 136, 1);font-size: 14px;">at</span> <span style="color: rgba(34, 168, 132, 1);font-size: 15px;">this</span> <span style="color: rgba(41, 175, 127, 1);font-size: 16px;">moment</span> <span style="color: rgba(51, 182, 122, 1);font-size: 16px;">but</span> <span style="color: rgba(62, 188, 115, 1);font-size: 16px;">it’s</span> <span style="color: rgba(77, 195, 107, 1);font-size: 17px;">so</span> <span style="color: rgba(93, 201, 98, 1);font-size: 18px;">cool</span> <span style="color: rgba(110, 206, 88, 1);font-size: 18px;">that</span> <span style="color: rgba(127, 211, 78, 1);font-size: 18px;">nobody</span> <span style="color: rgba(147, 215, 65, 1);font-size: 19px;">can</span> <span style="color: rgba(169, 219, 51, 1);font-size: 20px;">resist.</span> <span style="color: rgba(187, 223, 39, 1);font-size: 20px;">;)</span></p>
</div>
<div id="tooltip" class="section level2">
<h2>Tooltip</h2>
@@ -3557,7 +3557,7 @@
3
</td>
<td style="text-align:center;">
-1
+0
</td>
</tr>
<tr>
@@ -3573,7 +3573,7 @@
5
</td>
<td style="text-align:center;">
-0
+1
</td>
</tr>
<tr>
@@ -3581,7 +3581,7 @@
6
</td>
<td style="text-align:center;">
-0
+1
</td>
</tr>
<tr>
@@ -3589,7 +3589,7 @@
7
</td>
<td style="text-align:center;">
-0
+1
</td>
</tr>
<tr>
@@ -3657,7 +3657,7 @@
14
</td>
<td style="text-align:center;">
-0
+1
</td>
</tr>
<tr>
@@ -3665,7 +3665,7 @@
15
</td>
<td style="text-align:center;">
-0
+1
</td>
</tr>
</tbody>
diff --git a/docs/awesome_table_in_pdf.Rmd b/docs/awesome_table_in_pdf.Rmd
index c55af6b..2eb2a1e 100644
--- a/docs/awesome_table_in_pdf.Rmd
+++ b/docs/awesome_table_in_pdf.Rmd
@@ -233,7 +233,7 @@
```
## Visualize data with Viridis Color
-This package also comes with a few helper functions, including `spec_color`, `spec_font_size` & `spec_angle`. These functions can rescale continuous variables to certain scales. For example, function `spec_color` would map a continuous variable to any [viridis color palettes](https://cran.r-project.org/web/packages/viridis/vignettes/intro-to-viridis.html). It offers a very visually impactful representation in a tabular format.
+This package also comes with a few helper functions, including `spec_color`, `spec_font_size` & `spec_angle`. These functions can rescale continuous variables to certain scales. For example, function `spec_color` would map a continuous variable to any [viridis color palettes](https://CRAN.R-project.org/package=viridisLite). It offers a very visually impactful representation in a tabular format.
```{r}
iris[1:10, ] %>%
diff --git a/docs/awesome_table_in_pdf.pdf b/docs/awesome_table_in_pdf.pdf
index 9039871..eedd17f 100644
--- a/docs/awesome_table_in_pdf.pdf
+++ b/docs/awesome_table_in_pdf.pdf
Binary files differ