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

Wallace

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

Category: Biosphere
Sub Category: Species Distribution Modeling

Keywords from Contributors

ecological-modelling distribution species species-distribution-modelling

Last synced: about 17 hours ago
JSON representation

Repository metadata

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

README.md

R-CMD-check License: GPL v3 CRAN version downloads

Wallace (v2.1.3)

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.

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

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

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.3 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: 7 days ago

Total Commits: 3,198
Total Committers: 24
Avg Commits per committer: 133.25
Development Distribution Score (DDS): 0.487

Commits in past year: 28
Committers in past year: 3
Avg Commits per committer in past year: 9.333
Development Distribution Score (DDS) in past year: 0.071

Name Email Commits
ndimhypervol j****s@g****m 1642
Gonzalo E. Pinilla-Buitrago g****o@g****u 615
Bruno Vilela de Moraes e Silva b****a@h****m 277
Andrea Paz a****z@A****l 222
Bethany Johnson b****5@c****u 112
Andrea Paz p****a@g****m 67
Jamie M. Kass j****s@g****u 53
Matthew Aiello-Lammens m****s@g****m 51
Dean Attali d****i@g****m 33
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
Peter Galante p****e@a****g 8
Bethany Johnson b****5@B****l 7
Bethany Johnson b****5@B****1 7
unknown G****o@B****n 5
Bruno Vilela b****a@B****l 5
Daniel Lopez d****o@g****m 4
CORY MEROW c****g@M****l 2
Gonzalo G****o@A****l 2
Jenna j****3@g****m 2

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 99
Total pull requests: 53
Average time to close issues: over 1 year
Average time to close pull requests: 26 days
Total issue authors: 31
Total pull request authors: 6
Average comments per issue: 1.31
Average comments per pull request: 0.34
Merged pull request: 42
Bot issues: 0
Bot pull requests: 0

Past year issues: 15
Past year pull requests: 16
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 5 days
Past year issue authors: 8
Past year pull request authors: 2
Past year average comments per issue: 0.73
Past year average comments per pull request: 0.25
Past year merged pull request: 15
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 (14)
  • gepinillab (9)
  • jamiemkass (8)
  • mlammens (7)
  • Pgalante (3)
  • andrepazv (3)
  • meblair (2)
  • celine1sa (2)
  • daattali (2)
  • dpoursanidis (2)
  • ume722 (2)
  • wallaceEcoMod (2)
  • hart2 (2)
  • vijaybarve (1)

Top Pull Request Authors

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

Top Issue Labels

  • enhancement (46)
  • guidance (17)
  • bug (16)
  • awaiting reply (5)
  • innactive (4)
  • question (2)
  • website (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.2.0 (published about 2 months ago)
  • Last Synced: 2025-04-25T14:04:24.277Z (1 day ago)
  • Versions: 28
  • Dependent Packages: 2
  • Dependent Repositories: 3
  • Downloads: 19,279 Last month
  • Docker Downloads: 11
  • 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: 18.282200715574252