Package: SamsaRaLight 1.0.0

Natheo Beauchamp

SamsaRaLight: Simulate Tree Light Transmission Using Ray-Tracing

Provides tools to simulate light transmission in forest stands using three-dimensional ray-tracing. The package allows users to build virtual stands from tree inventories and to estimate (1) light intercepted by individual trees, (2) light reaching the forest floor, and (3) light at virtual sensors. The package is designed for ecological and forestry applications, including the analysis of light competition, tree growth, and forest regeneration. The implementation builds on the individual-based ray-tracing model SamsaraLight developed by Courbaud et al. (2003) <doi:10.1016/S0168-1923(02)00254-X>.

Authors:Natheo Beauchamp [aut, cre], Gauthier Ligot [aut], Francois de Coligny [aut], Maxime Jaunatre [aut], Benoit Courbaud [aut, cph]

SamsaRaLight_1.0.0.tar.gz
SamsaRaLight_1.0.0.tar.gz(r-4.7-arm64)SamsaRaLight_1.0.0.tar.gz(r-4.7-x86_64)SamsaRaLight_1.0.0.tar.gz(r-4.6-arm64)SamsaRaLight_1.0.0.tar.gz(r-4.6-x86_64)
SamsaRaLight_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
SamsaRaLight/json (API)

# Install 'SamsaRaLight' in R:
install.packages('SamsaRaLight', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/natheob/samsaralight/issues

Pkgdown/docs site:https://natheob.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • data_bechefa - Example forest inventory datasets for SamsaRaLight
  • data_cloture20 - Example forest inventory datasets for SamsaRaLight
  • data_IRRES1 - Example forest inventory datasets for SamsaRaLight
  • data_prenovel - Example forest inventory datasets for SamsaRaLight

On CRAN:

Conda:

cpp

3.00 score 10 scripts 28 downloads 18 exports 61 dependencies

Last updated from:54138ffbbd. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK210
linux-devel-x86_64OK167
source / vignettesOK227
linux-release-arm64OK166
linux-release-x86_64OK163
wasm-releaseOK127

Exports:check_coordinatescheck_inventorycheck_monthly_radiationscheck_polygoncheck_sensorscreate_sl_standcreate_xy_from_lonlatget_bottom_azimutget_monthly_radiationsget_zplot_inventoryplot_slope_profilerun_slrun_sl_advancedsl_compute_nrj_diffusesl_compute_sunazimutsl_create_rays_diffusesl_create_rays_direct

Dependencies:askpassbase64encclassclassIntcliconcavemancpp11curldata.tableDBIdplyre1071farvergenericsgeometriesggforceggnewscaleggplot2gluegtablehttrisobandjsonliteKernSmoothlabelinglifecyclemagrittrMASSmimeopensslpatchworkpillarpkgconfigpolyclipproxypurrrR6RColorBrewerRcppRhpcBLASctlrlangs2S7scalessfsfheadersstringistringrsyssystemfontstibbletidyrtidyselecttweenrunitsutf8V8vctrsviridisLitewithrwk

A typical example workflow

Rendered fromminimal_example.Rmdusingknitr::rmarkdownon Jun 15 2026.

Last update: 2026-04-16
Started: 2026-04-16

Model definition

Rendered frommodel_definition.Rmdusingknitr::rmarkdownon Jun 15 2026.

Last update: 2026-04-16
Started: 2026-04-16