Skip to content

Commit

Permalink
chunk options moved to _pkgdown.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jbkunst committed Aug 12, 2022
1 parent 8510e57 commit 663d7c4
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 19 deletions.
10 changes: 4 additions & 6 deletions vignettes/drilldown.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,15 @@ $(document).ready(function(){
}) ;
</script>

Drilldown is the concept of inspecting increasingly high resolution data
through clicking on chart items like columns, points or pie slices.

## Exmaple I: Gapminder data

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
```

Drilldown is the concept of inspecting increasingly high resolution data
through clicking on chart items like columns, points or pie slices.

## Exmaple I: Gapminder data

```{r}
library(dplyr)
Expand Down
3 changes: 1 addition & 2 deletions vignettes/first-steps.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ $(document).ready(function(){
}) ;
</script>

```{r, warning = FALSE, message = FALSE, echo = FALSE}
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
```{r, include=FALSE}
library(highcharter)
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
```
Expand Down
2 changes: 0 additions & 2 deletions vignettes/fontawesome.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,8 @@ $(document).ready(function(){
el.html(text_new)
}) ;
</script>

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
options(download.file.method = "libcurl")
```
Expand Down
1 change: 0 additions & 1 deletion vignettes/hchart.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ $(document).ready(function(){

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
options(download.file.method = "libcurl")
```
Expand Down
5 changes: 2 additions & 3 deletions vignettes/highcharter.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ vignette: >
}) ;
</script>

```{r setup, include=FALSE}
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
```{r, include=FALSE}
library(highcharter)
options(highcharter.theme = hc_theme_hcrt())
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
```

## <span class="fa fa-bar-chart"></span> Highcharts
Expand Down
1 change: 0 additions & 1 deletion vignettes/highcharts-api.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ $(document).ready(function(){

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
```

Expand Down
1 change: 0 additions & 1 deletion vignettes/highcharts.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ $(document).ready(function(){

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
options(download.file.method = "libcurl")
```
Expand Down
1 change: 0 additions & 1 deletion vignettes/highchartsjs-api-basics.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ $(document).ready(function(){

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
```

## Introduction
Expand Down
1 change: 0 additions & 1 deletion vignettes/howtos.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ $(document).ready(function(){

```{r, include=FALSE}
library(highcharter)
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
```

Expand Down
1 change: 0 additions & 1 deletion vignettes/maps.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ $(document).ready(function(){
</script>

```{r, include=FALSE}
knitr::opts_chunk$set(message = FALSE, warning = FALSE, out.width="100%")
library(highcharter)
options(highcharter.theme = hc_theme_hcrt(tooltip = list(valueDecimals = 2)))
options(highcharter.download_map_data = TRUE)
Expand Down

0 comments on commit 663d7c4

Please sign in to comment.