Skip to content

Commit 7ed37de

Browse files
LeyshonLeyshon
authored andcommitted
chore: Adding index link to test file
1 parent c08131d commit 7ed37de

File tree

8 files changed

+1758
-91
lines changed

8 files changed

+1758
-91
lines changed

docs/accesible_images.html

Lines changed: 193 additions & 9 deletions
Large diffs are not rendered by default.

docs/accessrmd_guide.Rmd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,9 @@ standard Quick Reference</a> <br> <br>
637637
[textmate.Rmd](https://wave.webaim.org/report#/https://r-leyshon.github.io/access_rmd_docs/docs/test_highlights//highlight_textmate.html)<br>
638638
[zenburn.Rmd](https://wave.webaim.org/report#/https://r-leyshon.github.io/access_rmd_docs/docs/test_highlights//highlight_zenburn.html)<br>
639639

640+
### Package Outputs
641+
642+
['access_rmd()' output](docs/test_outputs/access_rmd.html)
640643

641644
***
642645

docs/accessrmd_test.html

Lines changed: 175 additions & 8 deletions
Large diffs are not rendered by default.

docs/attempt_simplex.Rmd

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ output:
99
<meta charset="utf-8"/>
1010
<title>Attempting to apply simplex theme</title>
1111
<h1 class="title toc-ignore">Attempting to apply simplex theme</h1>
12-
<h2 class="author toc-ignore">richardleyshon</h2>
13-
<h2 class="date toc-ignore">11 Nov 2021</h2>
12+
<h2 class="author toc-ignore">leyshr</h2>
13+
<h2 class="date toc-ignore">03 Dec 2021</h2>
1414
</header>
1515
<body>
1616
```{r setup, include=FALSE}
1717
knitr::opts_chunk$set(echo = TRUE)
18+
knitr::opts_chunk$set(comment = "")
1819
```
1920

2021
## Adapted R Markdown
2122

22-
This R Markdown templated has been adapted using the 'accessrmd' package. This
23-
template has a different head and HTML structure to the standard R markdown
23+
This R Markdown template has been adapted using the 'accessrmd' package. This
24+
template has a different header and HTML structure to the standard R markdown
2425
template. This is to improve the accessibility of the knitted HTML documents for
2526
screen readers.
2627

@@ -35,10 +36,22 @@ summary(cars)
3536

3637
## Plots
3738

38-
```{r pressure, echo=FALSE}
39-
plot(pressure)
39+
```{r pressure, echo=FALSE, message=FALSE}
40+
plt <- ggplot2::ggplot(
41+
pressure,
42+
ggplot2::aes(temperature, pressure)
43+
) +
44+
ggplot2::geom_point()
45+
46+
accessrmd::access_img(
47+
plt,
48+
alt = "Vapor Pressure of Mercury as a Function of Temperature",
49+
ht = 400
50+
)
51+
4052
```
4153

42-
In the above chunk, `echo = FALSE` was used to hide the R code that produced the
43-
plot from the knitted HTML document.</body>
54+
In the above chunk, `echo=FALSE` was used to hide the R code that produced the
55+
plot from the knitted HTML document. `message=FALSE` was also used to stop
56+
messages being knitted to the HTML output.</body>
4457
</html>

docs/flatly_styling.Rmd

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ output:
99
<meta charset="utf-8"/>
1010
<title>Applying the flatly theme</title>
1111
<h1 class="title toc-ignore">Applying the flatly theme</h1>
12-
<h2 class="author toc-ignore">richardleyshon</h2>
13-
<h2 class="date toc-ignore">11 Nov 2021</h2>
12+
<h2 class="author toc-ignore">leyshr</h2>
13+
<h2 class="date toc-ignore">03 Dec 2021</h2>
1414
</header>
1515
<body>
1616
```{r setup, include=FALSE}
1717
knitr::opts_chunk$set(echo = TRUE)
18+
knitr::opts_chunk$set(comment = "")
1819
```
1920

2021
## Adapted R Markdown
2122

22-
This R Markdown templated has been adapted using the 'accessrmd' package. This
23-
template has a different head and HTML structure to the standard R markdown
23+
This R Markdown template has been adapted using the 'accessrmd' package. This
24+
template has a different header and HTML structure to the standard R markdown
2425
template. This is to improve the accessibility of the knitted HTML documents for
2526
screen readers.
2627

@@ -35,10 +36,22 @@ summary(cars)
3536

3637
## Plots
3738

38-
```{r pressure, echo=FALSE}
39-
plot(pressure)
39+
```{r pressure, echo=FALSE, message=FALSE}
40+
plt <- ggplot2::ggplot(
41+
pressure,
42+
ggplot2::aes(temperature, pressure)
43+
) +
44+
ggplot2::geom_point()
45+
46+
accessrmd::access_img(
47+
plt,
48+
alt = "Vapor Pressure of Mercury as a Function of Temperature",
49+
ht = 400
50+
)
51+
4052
```
4153

42-
In the above chunk, `echo = FALSE` was used to hide the R code that produced the
43-
plot from the knitted HTML document.</body>
54+
In the above chunk, `echo=FALSE` was used to hide the R code that produced the
55+
plot from the knitted HTML document. `message=FALSE` was also used to stop
56+
messages being knitted to the HTML output.</body>
4457
</html>

docs/more_parameters.Rmd

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,19 @@ output:
1212
<title>Include a Subtitle and TOC</title>
1313
<h1 class="title toc-ignore">Include a Subtitle and TOC</h1>
1414
<h2 class="subtitle toc-ignore">Some Sensible Subtitle</h2>
15-
<h3 class="author toc-ignore">richardleyshon</h3>
16-
<h3 class="date toc-ignore">11 Nov 2021</h3>
15+
<h3 class="author toc-ignore">leyshr</h3>
16+
<h3 class="date toc-ignore">03 Dec 2021</h3>
1717
</header>
1818
<body>
1919
```{r setup, include=FALSE}
2020
knitr::opts_chunk$set(echo = TRUE)
21+
knitr::opts_chunk$set(comment = "")
2122
```
2223

2324
## Adapted R Markdown
2425

25-
This R Markdown templated has been adapted using the 'accessrmd' package. This
26-
template has a different head and HTML structure to the standard R markdown
26+
This R Markdown template has been adapted using the 'accessrmd' package. This
27+
template has a different header and HTML structure to the standard R markdown
2728
template. This is to improve the accessibility of the knitted HTML documents for
2829
screen readers.
2930

@@ -38,10 +39,22 @@ summary(cars)
3839

3940
## Plots
4041

41-
```{r pressure, echo=FALSE}
42-
plot(pressure)
42+
```{r pressure, echo=FALSE, message=FALSE}
43+
plt <- ggplot2::ggplot(
44+
pressure,
45+
ggplot2::aes(temperature, pressure)
46+
) +
47+
ggplot2::geom_point()
48+
49+
accessrmd::access_img(
50+
plt,
51+
alt = "Vapor Pressure of Mercury as a Function of Temperature",
52+
ht = 400
53+
)
54+
4355
```
4456

45-
In the above chunk, `echo = FALSE` was used to hide the R code that produced the
46-
plot from the knitted HTML document.</body>
57+
In the above chunk, `echo=FALSE` was used to hide the R code that produced the
58+
plot from the knitted HTML document. `message=FALSE` was also used to stop
59+
messages being knitted to the HTML output.</body>
4760
</html>

docs/some_file.Rmd

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,19 @@ output:
99
<meta charset="utf-8"/>
1010
<title>You Need To Provide A Title.</title>
1111
<h1 class="title toc-ignore">You Need To Provide A Title.</h1>
12-
<h2 class="author toc-ignore">richardleyshon</h2>
13-
<h2 class="date toc-ignore">11 Nov 2021</h2>
12+
<h2 class="author toc-ignore">leyshr</h2>
13+
<h2 class="date toc-ignore">03 Dec 2021</h2>
1414
</header>
1515
<body>
1616
```{r setup, include=FALSE}
1717
knitr::opts_chunk$set(echo = TRUE)
18+
knitr::opts_chunk$set(comment = "")
1819
```
1920

2021
## Adapted R Markdown
2122

22-
This R Markdown templated has been adapted using the 'accessrmd' package. This
23-
template has a different head and HTML structure to the standard R markdown
23+
This R Markdown template has been adapted using the 'accessrmd' package. This
24+
template has a different header and HTML structure to the standard R markdown
2425
template. This is to improve the accessibility of the knitted HTML documents for
2526
screen readers.
2627

@@ -35,10 +36,22 @@ summary(cars)
3536

3637
## Plots
3738

38-
```{r pressure, echo=FALSE}
39-
plot(pressure)
39+
```{r pressure, echo=FALSE, message=FALSE}
40+
plt <- ggplot2::ggplot(
41+
pressure,
42+
ggplot2::aes(temperature, pressure)
43+
) +
44+
ggplot2::geom_point()
45+
46+
accessrmd::access_img(
47+
plt,
48+
alt = "Vapor Pressure of Mercury as a Function of Temperature",
49+
ht = 400
50+
)
51+
4052
```
4153

42-
In the above chunk, `echo = FALSE` was used to hide the R code that produced the
43-
plot from the knitted HTML document.</body>
54+
In the above chunk, `echo=FALSE` was used to hide the R code that produced the
55+
plot from the knitted HTML document. `message=FALSE` was also used to stop
56+
messages being knitted to the HTML output.</body>
4457
</html>

index.html

Lines changed: 1303 additions & 42 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)