Skip to content

Temporal Workaround to run the app locally while the servers is back online #8

Description

@JavierFajado

Dear all,

Thanks to the kind emails of many, we know now that the link of the App is not working. We are working on solving this and will try to get it back online as soon as possible. Meanwhile, we provide here a workaround to run the app locally. This is equivalent to using the old link for the local version linked on the App and in this same GitHub page, but the link includes a version that has been updated to avoid the most common problems people have found. Hope this one works for most!
And again, sorry for the inconvenience, and thanks for the interest in using GCMcompareR.
All the best,
Javier

  1. Download the zip file from here:
    https://drive.google.com/open?id=1F4w6LACkgZUibeOb1KWjHM0zlwjL6Z0M&authuser=fj.fajardo%40posgrado.uimp.es&usp=drive_fs

(beware of the size of the file, ~8.5Gb)

  1. Unzip the file in your hard drive, so you get a folder containing the app and data. Do not remove or change the location of any of the files, or the app won’t work correctly.

  2. Open the .Rproj file to launch RStudio using the app’s RStudio project

  3. You could launch the app at this point by clicking on the “Run app” button that you will see if you open either “ui.R” or “server.R” in the Rstudio session. You could open any of those files directly from your browser or from RStudio itself.

  4. Be sure to have all needed libraries and dependencies installed
    a) Beware that you need a few R libraries to be installed in order for the app to work. The needed libraries are detailed at the beginning of both packages. Be sure to install manually the needed libraries. If you are unsure, I think that the following code will do it:
    install.packages("shiny", "tidyverse", "kableExtra", "raster", "plotly", "leaflet", "leaflet.extras", "ggrepel", "sp", "sf", "rgdal", "fasterize", "maps", "maptools", "shinythemes", "shinyjs", "shinycssloaders", "plotly")

(Please, ensure that the installation of all libraries is successful, or the app won’t work. If any of the libraries fails to install, try to google the problem and install it.)

b) For the option to download PDF reports after execution of the app to work, you will need to have “Tinytex” installed. This is used to produce PDFs, and you might install it following the instructions here: https://yihui.org/tinytex/. Without this, the app should still work fine but will fail to produce the PDF.

  1. Note that this is a newer version of the app than that you had seen online in the past. I have included CMIP6 layers here and an option where you can decide whether you want to compare CMIP5 (as in the app that used to be online) or CMIP6 (more up to date, but perhaps still a bit short in the number of GCMs for which data is available). My plan is to have this new version online as soon as possible, but this has already taken us a few months since the app was updated… so I cannot promise that the update will go live soon because I rely on others to do part of the process (save to a server and link to the website).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions