Open Sustainable Technology

A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Browse accepted projects | Review proposed projects | Propose new project | Open Issues

Wallace

A modular platform for reproducible modeling of species niches and distributions, written in R.
https://github.com/wallaceEcoMod/wallace

Last synced: about 2 hours ago
JSON representation

Repository metadata

an interactive, reproducible, expandible, instructional, and open-source GUI-based app for ecological niche modeling

README

        

[![R-CMD-check](https://github.com/wallaceEcoMod/wallace/workflows/R-CMD-check/badge.svg)](https://github.com/wallaceEcoMod/wallace/actions) [![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) [![CRAN version](http://www.r-pkg.org/badges/version/wallace)](https://CRAN.R-project.org/package=wallace) [![downloads](https://cranlogs.r-pkg.org:443/badges/grand-total/wallace?color=orange)](https://cranlogs.r-pkg.org:443/badges/grand-total/wallace?color=orange)

# Wallace (v2.1.2)

*Wallace* is a modular platform for reproducible modeling of species niches and distributions, written in R. The application guides users through a complete analysis, from the acquisition of data to visualizing model predictions on an interactive map, thus bundling complex workflows into a single, streamlined interface.

Install *Wallace* via CRAN and run the application with the following R code.

```R
install.packages("wallace")
library(wallace)
run_wallace()
```

Development versions can be downloaded from Github with the following R code.

```R
install.packages("devtools")
devtools::install_github("wallaceEcoMod/wallace")
library(wallace)
run_wallace()
```

### Before using *Wallace*

#### Update R and RStudio versions
Please make sure you have installed the latest versions of both R (Mac OS, Windows) and RStudio (Mac OS / Windows: choose the free version).

#### How to run Maxent with maxent.jar
*Wallace* v2.1.2 includes two options to run Maxent models: maxnet and maxent.jar. The former, which is an R implementation and fits the model with the package `glmnet`, is now the default and does not require the package `rJava` (see Phillips et al. 2017). The latter, which is the Java implementation, runs the `maxent()` function in the package `dismo`. This function requires the user to place the `maxent.jar` file in the `/java` directory of the `dismo` package root folder. You can download Maxent here, and locate `maxent.jar`, which is the Maxent program itself, in the downloaded folder. You can find the directory path to `dismo/java` by running `system.file('java', package="dismo")` at the R console. Simply copy `maxent.jar` and paste it into this folder. If you try to run Maxent in *Wallace* without the file in place, you will get a warning message in the log window and Maxent will not run.

### Potential Issues

#### rJava and Java versions (just for maxent.jar option)
*Wallace* uses the `rJava` package only to run the program `maxent.jar`. The package `rJava` will not load properly if the version of Java on your computer (32-bit or 64-bit) does not match that of the R installation you are using. For example, if you are running 64-bit R, please make sure your Java is also 64-bit, or else `rJava` will be unable to load. Install the latest version of Java here, and 64-bit Windows users should make sure to select "Windows Offline (64-bit)". There is currently only a 64-bit download for Mac OS. For Mac users running OSX Yosemite and above with problems, see this StackOverflow post for some tips on how to get `rJava` working again. If you need to install Java for the first time, you can follow these instructions for Mac and Windows.

#### Problems viewing tables
If for some reason you are unable to view the tables in *Wallace*, please install (force if necessary) the development version of `htmlwidgets` by running this code: `devtools::install_github("ramnathv/htmlwidgets")`. You should be able to view tables now.

#### Windows Users: PDF download of session code
If PDF downloading of session code is not working for you, please follow the following instructions, taken from here:
- Step 1: Download and Install MiKTeX from http://miktex.org/2.9/setup
- Step 2: Run `Sys.getenv("PATH")` in R studio. This command returns the path where Rstudio is trying to find pdflatex.exe. In Windows (64-bit), it should return "C:\Program Files\MiKTeX 2.9\miktex\bin\x64\pdflatex.exe". If pdflatex.exe is not located in this location Rstudio gives this error code 41.
- Step 3: To set this path variable run: `Sys.setenv(PATH=paste(Sys.getenv("PATH"),"C:/Program Files/MiKTeX 2.9/miktex/bin/x64/",sep=";"))`.

#### Windows Users: Only for Github installation
If you are using Windows, please download and install RTools before installing the `devtools` package. After you install RTools, please make sure you add "C:\Rtools\bin" to your PATH variable (instructions here). Additionally, when using `devtools` on Windows machines, there is a known bug that sometimes results in the inability to download all package dependencies. If this happens to you, please install the packages and their dependencies directly from CRAN.

#### Any other problems with install_github()
Although the recommended way to install is through CRAN, if you are trying to install the Github version and are having problems, follow these steps.
1. Download the zip file from the repository page.
2. Unzip and open the wallace.Rproj file in RStudio.
3. In the right-hand pane, click Build, then Install & Restart.
4. Type `run_wallace()` in the console and press Enter.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 3,172
Total Committers: 27
Avg Commits per committer: 117.481
Development Distribution Score (DDS): 0.482

Commits in past year: 41
Committers in past year: 3
Avg Commits per committer in past year: 13.667
Development Distribution Score (DDS) in past year: 0.195

Name Email Commits
ndimhypervol j****s@g****m 1642
Gonzalo E. Pinilla-Buitrago g****o@g****u 393
Bruno Vilela de Moraes e Silva b****a@h****m 277
Andrea Paz a****z@A****l 222
Gonzalo g****b@g****m 222
Bethany Johnson b****5@c****u 88
Andrea Paz p****a@g****m 67
Jamie M. Kass j****s@g****u 53
Matthew Aiello-Lammens m****s@g****m 50
Dean Attali d****i@g****m 30
Cory Merow c****w@g****m 22
wallaceEcoMod n****l@g****m 21
SaraVarela s****a@p****g 13
Bruno Vilela B****a 12
obroenni o****i@g****m 8
valengsb v****b@g****m 8
Bethany Johnson b****5@B****1 7
Bethany Johnson b****5@B****l 7
Peter Galante p****e@a****g 6
Bruno Vilela b****a@B****l 5
unknown G****o@B****n 5
Daniel Lopez d****o@g****m 3
Dean Attali d****n@a****m 3
CORY MEROW c****g@M****l 2
Gonzalo G****o@A****l 2
Jenna j****3@g****m 2
Pgalante P****e@a****g 2

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 85
Total pull requests: 37
Average time to close issues: over 1 year
Average time to close pull requests: about 1 month
Total issue authors: 26
Total pull request authors: 6
Average comments per issue: 1.39
Average comments per pull request: 0.38
Merged pull request: 27
Bot issues: 0
Bot pull requests: 0

Past year issues: 7
Past year pull requests: 15
Past year average time to close issues: 22 days
Past year average time to close pull requests: about 1 month
Past year issue authors: 5
Past year pull request authors: 5
Past year average comments per issue: 0.43
Past year average comments per pull request: 0.33
Past year merged pull request: 9
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/wallaceEcoMod/wallace

Top Issue Authors

  • Valengsb (24)
  • bjohnso005 (8)
  • jamiemkass (8)
  • gepinillab (8)
  • mlammens (7)
  • andrepazv (3)
  • Pgalante (3)
  • wallaceEcoMod (2)
  • meblair (2)
  • hart2 (2)
  • dpoursanidis (2)
  • daattali (2)
  • antopg (1)
  • vijaybarve (1)
  • BrunoVilela (1)

Top Pull Request Authors

  • bjohnso005 (28)
  • zhaoxuequn (3)
  • mlammens (2)
  • danflop (2)
  • bbest (1)
  • olivroy (1)

Top Issue Labels

  • enhancement (40)
  • guidance (15)
  • bug (12)
  • awaiting reply (5)
  • innactive (4)
  • website (1)
  • question (1)
  • metadata (1)

Top Pull Request Labels


Package metadata

cran.r-project.org: wallace

A Modular Platform for Reproducible Modeling of Species Niches and Distributions

  • Homepage: http://wallaceecomod.github.io/wallace/
  • Documentation: http://cran.r-project.org/web/packages/wallace/wallace.pdf
  • Licenses: GPL-3
  • Latest release: 2.1.2 (published 2 months ago)
  • Last Synced: 2024-05-10T09:05:45.323Z (1 day ago)
  • Versions: 26
  • Dependent Packages: 2
  • Dependent Repositories: 3
  • Downloads: 1,498 Last month
  • Docker Downloads: 7
  • Rankings:
    • Forks count: 1.715%
    • Stargazers count: 3.19%
    • Dependent packages count: 13.633%
    • Average: 15.498%
    • Dependent repos count: 16.438%
    • Docker downloads count: 25.038%
    • Downloads: 32.977%
  • Maintainers (1)

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • leaflet >= 2.0.2 depends
  • shiny >= 1.6.0 depends
  • DT >= 0.5 imports
  • ENMeval >= 2.0.3 imports
  • RColorBrewer * imports
  • dplyr >= 1.0.2 imports
  • ecospat * imports
  • glue * imports
  • knitcitations * imports
  • leafem * imports
  • leaflet.extras >= 1.0.0 imports
  • magrittr * imports
  • methods * imports
  • rgdal * imports
  • rgeos * imports
  • rlang * imports
  • rmarkdown * imports
  • shinyWidgets >= 0.6.0 imports
  • shinyalert * imports
  • shinyjs * imports
  • spThin * imports
  • spocc >= 1.2.0 imports
  • tools * imports
  • zip * imports
  • BIEN * suggests
  • ade4 * suggests
  • dismo * suggests
  • jsonlite * suggests
  • knitr * suggests
  • mapview * suggests
  • maxnet * suggests
  • occCite * suggests
  • paleobioDB * suggests
  • rJava * suggests
  • rangeModelMetadata * suggests
  • raster * suggests
  • rgbif >= 3.3.0 suggests
  • sp * suggests
  • terra * suggests
  • testthat * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite

Score: 15.787509417781958