Skip to content

Commit

Permalink
Vignette (#17)
Browse files Browse the repository at this point in the history
* set up vignette

* first draft of vignette

* install qpdf

* add pandoc installation

* adjust dockerfile

* fix typo

* Update vignettes/how-to-use-MapR.Rmd

Co-authored-by: Antonia Runge <antonia.runge@inwt-statistics.de>

* Update vignettes/how-to-use-MapR.Rmd

Co-authored-by: Antonia Runge <antonia.runge@inwt-statistics.de>

* Update README.md

Co-authored-by: Antonia Runge <antonia.runge@inwt-statistics.de>

* update vignette and readme

* Update README.md

Co-authored-by: Jan Abel <106665518+jan-abel-inwt@users.noreply.github.com>

* adding little structure into the vignette (#19)

* small readme fix

---------

Co-authored-by: Antonia Runge <antonia.runge@inwt-statistics.de>
Co-authored-by: Jan Abel <106665518+jan-abel-inwt@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 23, 2024
1 parent c5ddc8f commit 2e2e741
Show file tree
Hide file tree
Showing 43 changed files with 4,281 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.Rproj.user
.Rhistory
inst/doc
3 changes: 3 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ Imports:
terra,
yaml
Suggests:
knitr,
rmarkdown,
testthat (>= 3.0.0)
Config/testthat/edition: 3
VignetteBuilder: knitr
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ FROM inwt/r-shiny:4.2.3

ADD . .

RUN echo "options(repos = c(getOption('repos'), PANDORA = 'https://Pandora-IsoMemo.github.io/drat/'))" >> /usr/local/lib/R/etc/Rprofile.site \
&& installPackage
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
qpdf \
pandoc \
&& echo "options(repos = c(getOption('repos'), PANDORA = 'https://Pandora-IsoMemo.github.io/drat/'))" >> /usr/local/lib/R/etc/Rprofile.site \
&& installPackage

CMD ["Rscript", "-e", "library(MapR);startApplication(3838)"]
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,23 @@ An App to display temporal and temperature graphical files for Isomemo.

### Access to online versions:
- MAIN versions:
- tbd
- https://pandoraapp.earth/app/mapr
- BETA versions:
- Search: https://pandoraapp.earth/app/mapr-beta
- https://pandoraapp.earth/app/mapr-beta

### Release notes:
- see `NEWS.md`

## How to use this Package

Refer to the vignette for a description of the usage of the MapR package.

----

### Notes for developers

When adding information to _help_ sites, _docstrings_ or the _vignette_ of this package, please update documentation locally as follows:

`devtools::document()` # or CTRL + SHIFT + D in RStudio

`devtools::build_site()`
108 changes: 108 additions & 0 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e2e741

Please sign in to comment.