glossa
User-Friendly 'shiny' App for Bayesian Species Distribution Models
Description
A user-friendly 'shiny' application for Bayesian machine learning analysis of marine species distributions. GLOSSA (Global Ocean Species Spatio-temporal Analysis) uses Bayesian Additive Regression Trees (BART; Chipman, George, and McCulloch (2010) <doi:10.1214/09-AOAS285>) to model species distributions with intuitive workflows for data upload, processing, model fitting, and result visualization. It supports presence-absence and presence-only data (with pseudo-absence generation), spatial thinning, cross-validation, and scenario-based projections. GLOSSA is designed to facilitate ecological research by providing easy-to-use tools for analyzing and visualizing marine species distributions across different spatial and temporal scales. Optionally, pseudo-absences can be generated within the environmental space using the external package 'flexsdm' (not on CRAN), which can be downloaded from <https://github.com/sjevelazco/flexsdm>; this functionality is used conditionally when available and all core features work without it.
Downloads
249
Last 30 days
17877th
674
Last 90 days
3.2K
Last year
Trend: +4.6% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | ERROR |
Check details (4 non-OK)
package dependencies
Package suggested but not available for checking: ‘flexsdm’
package dependencies
Package suggested but not available for checking: ‘flexsdm’
package dependencies
Package suggested but not available for checking: 'flexsdm'
tests
Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(glossa)
Loading required package: bs4Dash
Attaching package: 'bs4Dash'
The following object is masked from 'package:graphics':
box
Loading required package: shiny
Attaching package: 'shiny'
The following objects are masked from 'package:bs4Dash':
actionButton, column, insertTab, navbarMenu, tabsetPanel
> library(terra)
terra 1.9.11
Attaching package: 'terra'
The following objects are masked from 'package:testthat':
compare, describe
> library(sf)
Linking to GEOS 3.14.1, GDAL 3.12.1, PROJ 9.7.1; sf_use_s2() is TRUE
>
> test_check("glossa")
|
| | 0%
|
...[truncated]...
========= | 96%
|
|===================================================================== | 98%
|
|======================================================================| 100%
train_0 train_1 test_0 test_1
1 9 11 5 5
2 9 10 5 6
3 10 11 4 5
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
Spherical geometry (s2) switched off
Spherical geometry (s2) switched on
dist is assumed to be in decimal degrees (arc_degrees).
dist is assumed to be in decimal degrees (arc_degrees).
although coordinates are longitude/latitude, st_difference assumes that they
are planar
although coordinates are longitude/latitude, st_difference assumes that they
are planar
Running thinning with method 'precision' and thinning value 1
Check History
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
tests
Running 'testthat.R' [22s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(glossa) Loading required package: bs4Dash Attaching package: 'bs4Dash' The following object is masked from 'pack ...[truncated]... ). although coordinates are longitude/latitude, st_difference assumes that they are planar although coordinates are longitude/latitude, st_difference assumes that they are planar Running thinning with method 'precision' and thinning value 1
package dependencies
Package suggested but not available for checking: ‘flexsdm’
package dependencies
Package suggested but not available for checking: ‘flexsdm’
package dependencies
Package suggested but not available for checking: 'flexsdm'
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
package dependencies
Package suggested but not available for checking: ‘flexsdm’
package dependencies
Package suggested but not available for checking: ‘flexsdm’
package dependencies
Package suggested but not available for checking: 'flexsdm'