Skip to content

Commit

Permalink
Try rotemplate for local dev site
Browse files Browse the repository at this point in the history
  • Loading branch information
steffilazerte committed Sep 5, 2023
1 parent 3cc5de1 commit cadb121
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::., any::svglite
extra-packages: any::pkgdown, local::., any::svglite, ropensci-org/rotemplate
needs: website

- name: Build site
run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
run: rotemplate::build_ropensci_docs(new_process = FALSE, install = FALSE)
shell: Rscript {0}

- name: Deploy to GitHub pages 🚀
Expand Down
10 changes: 4 additions & 6 deletions vignettes/articles/mapping.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ date: "`r Sys.Date()`"
output: rmarkdown::html_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(cache = FALSE)
```

<style>
div.leaflet-popup-content-wrapper {
width: 700px;
Expand Down Expand Up @@ -37,10 +41,6 @@ In that article I demonstrated how we can incorporate data from `weathercan` int

Here, we'll take a look at annual temperatures throughout different Eco Regions in Manitoba, Canada.

```{r, include = FALSE}
knitr::opts_chunk$set(cache = FALSE)
```

## Setup

### Using extra CSS styles
Expand Down Expand Up @@ -274,8 +274,6 @@ leaflet(width = "750px", height = "85vh") %>%
addLayersControl(
overlayGroups = "Stations",
options = layersControlOptions(collapsed = FALSE))
```

I think this is an interesting way of looking at the Eco Regions in Manitoba.
Expand Down

0 comments on commit cadb121

Please sign in to comment.