diff --git a/.github/workflows/render-rmarkdown.yaml b/.github/workflows/render-rmarkdown.yaml deleted file mode 100644 index e4a81a64..00000000 --- a/.github/workflows/render-rmarkdown.yaml +++ /dev/null @@ -1,45 +0,0 @@ -# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples -# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help -on: - push: - paths: ['README.Rmd', '.github/workflows/render-rmarkdown.yaml'] - -name: render-rmarkdown - -jobs: - render-rmarkdown: - runs-on: ubuntu-latest - env: - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - steps: - - name: Checkout repo - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - - uses: r-lib/actions/setup-pandoc@v2 - - - uses: r-lib/actions/setup-r@v2 - - - uses: r-lib/actions/setup-renv@v2 - - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::rcmdcheck - needs: check - - - name: Install rmarkdown, remotes, and the local package - run: | - install.packages("remotes") - remotes::install_local(".") - remotes::install_cran("rmarkdown") - shell: Rscript {0} - - - name: Render Rmarkdown files and Commit Results - run: | - Rscript -e 'rmarkdown::render("README.Rmd", output_file = "README.md")' - git config --local user.name "$GITHUB_ACTOR" - git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com" - git add README.Rmd README.md man/figures/README-* - git commit -m 'Re-build Rmarkdown files' || echo "No changes to commit" - git push origin || echo "No changes to commit" diff --git a/README.Rmd b/README.Rmd index 775d7d55..ca778375 100644 --- a/README.Rmd +++ b/README.Rmd @@ -16,7 +16,7 @@ pkgload::load_all() ``` -# funbiogeo +# funbiogeo @@ -24,8 +24,6 @@ pkgload::load_all() [![codecov](https://codecov.io/gh/FRBCesab/funbiogeo/branch/main/graph/badge.svg?token=JPXXVNMAJ0)](https://codecov.io/gh/FRBCesab/funbiogeo) [![CRAN status](https://www.r-pkg.org/badges/version/funbiogeo)](https://CRAN.R-project.org/package=funbiogeo) [![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) -[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#maturing) -[![Project Status: Active](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) ## Overview diff --git a/README.md b/README.md index 5bb822f8..2512671a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ -# funbiogeo +# funbiogeo @@ -11,10 +11,6 @@ status](https://www.r-pkg.org/badges/version/funbiogeo)](https://CRAN.R-project.org/package=funbiogeo) [![License: GPL v2](https://img.shields.io/badge/License-GPL%20v2-blue.svg)](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html) -[![Lifecycle: -maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html#maturing) -[![Project Status: -Active](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) ## Overview diff --git a/_pkgdown.yml b/_pkgdown.yml index b15b08b3..9a2f240c 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -1,3 +1,10 @@ +url: https://frbcesab.github.io/funbiogeo + +template: + bootstrap: 5 + bslib: + primary: "#2b4370" + reference: - title: Included Datasets contents: diff --git a/inst/sticker/funbiogeo-sticker.R b/inst/sticker/funbiogeo-sticker.R index c57266c4..fa7f3c20 100755 --- a/inst/sticker/funbiogeo-sticker.R +++ b/inst/sticker/funbiogeo-sticker.R @@ -81,7 +81,7 @@ hexSticker::sticker( subplot = p, package = "funbiogeo", - filename = here::here("man", "figures", "funbiogeo-sticker.png"), + filename = here::here("man", "figures", "logo.png"), dpi = 2400, p_size = 140.0, # Title diff --git a/man/figures/README-plot-site-tr-complete-1.png b/man/figures/README-plot-site-tr-complete-1.png index 5fc74ac6..f6ec4015 100644 Binary files a/man/figures/README-plot-site-tr-complete-1.png and b/man/figures/README-plot-site-tr-complete-1.png differ diff --git a/man/figures/README-plot-sp-tr-complete-1.png b/man/figures/README-plot-sp-tr-complete-1.png index 2e87ce42..89601e1a 100644 Binary files a/man/figures/README-plot-sp-tr-complete-1.png and b/man/figures/README-plot-sp-tr-complete-1.png differ diff --git a/man/figures/funbiogeo-sticker.png b/man/figures/logo.png similarity index 100% rename from man/figures/funbiogeo-sticker.png rename to man/figures/logo.png