-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feature/json and first plot (#6) * json instead of csv * first plot wip * zipm upload * first nc plot * documentation * fix check note * remove outdated json * show alerts for missing informations / wrong file types * add rgpt3 to description file * update dockerfile * dockerfile * Change from base-image:4.2.1 to r-shiny:4.2.3 image * change from r-shiny:4.2.3 to r-shiny:4.2.1 * back to 4.2.3 * add .Rprofile - add drat repo * add drat repo to dockerimage * fix typo * integrate import module from most recent version of DataTools (#11) --------- Co-authored-by: Jan Abel <106665518+jan-abel-inwt@users.noreply.github.com> Co-authored-by: Jan A <jan.abel@inwt-statistics.de> Co-authored-by: Antonia Runge <antonia.runge@inwt-statistics.de> * Update cosign-installer version * Fix/missing zip and function (#12) * fix namespace issues and change Rbuildignore to prevent example data being removed * remove unwanted linebreaks * Feature/plot title (#14) * change plot width and alignment; format code * title and formatting options * fix problem with relative height * inc DataTools, add config (#15) * Feature/13 questionnaire (#16) * changes for questionnaire option * remove image list dependency * update readme * adds questionnaire functionality * test prepareQuestionnaireImage * update readme * reactivate observe enable disable action button * styling * function docu * use fill value from example zip * adjust error message * Vignette (#17) * 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> --------- Co-authored-by: Jan Abel <106665518+jan-abel-inwt@users.noreply.github.com> Co-authored-by: Jan A <jan.abel@inwt-statistics.de> Co-authored-by: Antonia Runge <antonia.runge@inwt-statistics.de>
- Loading branch information
1 parent
768c6d2
commit 9519768
Showing
82 changed files
with
5,325 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ | |
^deploy\.sh$ | ||
^\..*$ | ||
^\.Rproj\.user$ | ||
^inst/data$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# When starting a new R session, a specific directory is added to the libPath. | ||
# It's called libWin resp. libLinux. As it is on the first libPath position, | ||
# packages are installed into this directory by default. This enables working in | ||
# a sandbox. | ||
|
||
.First <- function() { | ||
# Check operating system | ||
if (Sys.info()["sysname"] == "Windows") { | ||
# Add libWin with the full path to libPaths | ||
.libPaths(new = c(paste(getwd(), "libWin", sep = "/"), .libPaths())) | ||
} else if (Sys.info()["sysname"] == "Linux") { | ||
.libPaths(new = c(paste(getwd(), "libLinux", sep = "/"), .libPaths())) | ||
} else if (Sys.info()["sysname"] == "Darwin") { | ||
.libPaths(new = c(paste(getwd(), "libMac", sep = "/"), .libPaths())) | ||
} | ||
options(repos = c(getOption("repos"), PANDORA = "https://Pandora-IsoMemo.github.io/drat/")) | ||
} | ||
|
||
.First() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.Rproj.user | ||
.Rhistory | ||
inst/doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
Package: MapR | ||
Title: Display temporal and temperature graphical files for Isomemo | ||
Version: 22.12.1 | ||
Version: 24.1.0 | ||
Authors@R: c(person("Lukas", "Fuchs", email = "lukas.fuchs@inwt-statistics.de", role = c("aut", "cre"))) | ||
Description: An App to display temporal and temperature graphical files for Isomemo. | ||
License: GPL (>= 3) | ||
Encoding: UTF-8 | ||
Roxygen: list(markdown = TRUE) | ||
RoxygenNote: 7.2.3 | ||
Remotes: | ||
github::ben-aaron188/rgpt3 | ||
Imports: | ||
colourpicker, | ||
DataTools (>= 23.12.2), | ||
magrittr, | ||
pastclim, | ||
rjson, | ||
shiny, | ||
shinyjs | ||
shinyjs, | ||
shinyWidgets, | ||
terra, | ||
yaml | ||
Suggests: | ||
knitr, | ||
rmarkdown, | ||
testthat (>= 3.0.0) | ||
Config/testthat/edition: 3 | ||
VignetteBuilder: knitr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
FROM ghcr.io/pandora-isomemo/base-image:latest | ||
FROM inwt/r-shiny:4.2.3 | ||
|
||
ADD . . | ||
|
||
RUN 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)"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
# MapR | ||
|
||
## 24.1.0 | ||
|
||
### New Features | ||
- user can fill out questionnaires and images are displayed depending on the answers | ||
|
||
## Version 23.12.1 | ||
|
||
### New Features | ||
- _Import from Pandora_: | ||
- display of "About" information that is associated to a selected Pandora Repository | ||
|
||
## 23.11.0 | ||
|
||
### New Features | ||
- option to add and format a plot title. | ||
|
||
## Version: 23.10.1 | ||
|
||
### New Features | ||
- option to upload zip files via the import module from `DataTools`. Enables access to files from | ||
URL, Pandora Platform, local files, and online examples | ||
- Example data is taken from: | ||
```R | ||
#> Documentation for the Beyer2020 dataset | ||
#> | ||
#> Description: | ||
#> | ||
#> This dataset covers the last 120k years, at intervals of 1/2 k | ||
#> years, and a resolution of 0.5 degrees in latitude and longitude. | ||
#> | ||
#> Details: | ||
#> | ||
#> If you use this dataset, make sure to cite the original | ||
#> publication: | ||
#> | ||
#> Beyer, R.M., Krapp, M. & Manica, A. High-resolution terrestrial | ||
#> climate, bioclimate and vegetation for the last 120,000 years. Sci | ||
#> Data 7, 236 (2020). doi:doi.org/10.1038/s41597-020-0552-1 | ||
#> <https://doi.org/doi.org/10.1038/s41597-020-0552-1> | ||
#> | ||
#> The version included in 'pastclim' has the ice sheets masked, as | ||
#> well as internal seas (Black and Caspian Sea) removed. The latter | ||
#> are based on: | ||
#> | ||
#> <https://www.marineregions.org/gazetteer.php?p=details&id=4278> | ||
#> | ||
#> <https://www.marineregions.org/gazetteer.php?p=details&id=4282> | ||
#> | ||
#> As there is no reconstruction of their depth through time, modern | ||
#> outlines were used for all time steps. | ||
#> | ||
#> Also, for bio15, the coefficient of variation was computed after | ||
#> adding one to monthly estimates, and it was multiplied by 100 | ||
#> following <https://pubs.usgs.gov/ds/691/ds691.pdf> | ||
#> | ||
#> Changelog | ||
#> | ||
#> v1.1.0 Added monthly variables. Files can be downloaded from: | ||
#> <https://zenodo.org/deposit/7062281> | ||
#> | ||
#> v1.0.0 Remove ice sheets and internal seas, and use correct | ||
#> formula for bio15. Files can be downloaded from: | ||
#> doi:doi.org/10.6084/m9.figshare.19723405.v1 | ||
#> <https://doi.org/doi.org/10.6084/m9.figshare.19723405.v1> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#' Config | ||
#' | ||
#' @return (list) configuration parameters for import of data and models | ||
config <- function() { | ||
config_path <- system.file("config.yaml", package = "MapR") | ||
read_yaml(config_path) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.