Skip to content

silviculture

0.2.0Package record

Utility Functions for Forest Inventory and Silviculture

0packages depend
2.2Kdownloads / year
13.7%test coverage
13/13flavors OK

Overview

About

Perform common dendrometry operations such as inventory preparing, and inventory data analysis.

Changes in 0.2.0

This new version brings new naming conventions that will be useful for sorting the package into "modules" of related functions.

  • silv_tree_*(): tree-level metrics (although some can be also used as stand-level using the ntrees argument).
  • silv_stand_*(): stand or plot-level metrics
  • silv_predict_*(): predictions based on models

The old functions are now deprecated and will be eliminated in a future release.

New functions

  • silv_density_sdi(): calculates the Stand Density Index
  • silv_predict_height(): estimates height from diameter, using the so-called h-d curves. The argument equation allows to choose which equations to use. Currently, only eq_hd_aitor2025() available.
  • silv_stand_dominant_diameter(): calculates dominant diameter using two methods:
  • Assman: the mean diameter of the 100 thickest trees per hectare
  • Weise: the quadratic mean diameter of the 20% thickest trees per hectare
  • eq_biomass_*(): equations to be used inside the model argument of silv_predict_biomass().
Show all changes in 0.2.0Hide the rest of the changes in 0.2.0

Bug Fixes

  • Fix an error with the validator of variable names in silviculture::Inventory S7 class.
  • biomass_models: some were failing because the "-" sign was parsed as an em dash.

Enhancements

  • Prediction functions (silv_predict_*()) will now have common arguments, and specific arguments that depend of the model used that are specified as a function (e.g. silv_predict_height(model = eq_hd_aitor2025())).
  • silv_volume(): it assumed diameter to be in meters. Now the diameter must be given in centimeters. An informing message was added to the function.
  • S7 silviculture::Inventory class now stores groups.

Deprecated functions

  • silv_diametric_class() deprecated in favour of silv_tree_dclass()
  • silv_basal_area() deprecated in favour of silv_tree_basal_area() and silv_stand_basal_area()
  • silv_volume() deprecated in favour of silv_tree_volume()
  • silv_dominant_height() deprecated in favour of silv_stand_dominant_height()
  • silv_lorey_height() deprecated in favour of silv_stand_lorey_height()
  • silv_sqrmean_diameter() deprecated in favour of silv_stand_qmean_diameter()
  • silv_spacing_index() deprecated in favour of silv_density_hart()
  • silv_ntrees_ha() deprecated in favour of silv_density_ntrees_ha()
  • silv_biomass() deprecated in favour of silv_predict_biomass()

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • NOTE12 OK, 1 NOTE2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 359 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.0Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
49 (9 internal)includes a package overview page
Examples that run
100%37 run in a plain check
Exported functions with examples
97%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
14%

Downloads

2.2K
CRAN downloads in the past year
Rank #21,109 · ~6/day · ~179/mo
Daily download trend is not available in this view yet.
23630 days
63590 days
2.2K1 year
Compare downloads with other packages →
Also on70 r2u1 autocran

Repository

24Stars
4Forks
1Open issues
0Open PRs
2Releases
167Commits
2Commit identities
License file reads as GPL-3.0 · 167 commits · Last activity 2026-10-04 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
11
Median days to close, 50 most recently updated closed PRs
11

Stars over time

2025-10-09 · 232026-07-07 · 24
PracticesBeta

10 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/cidree/silviculture on 2026-10-22.

Continuous integration (1)
GitHub Actions
Governance and community (2)
Contributing guideFunding

Funding links: Buy Me a Coffee

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-10-04 · The repository has a site deploy workflow

pkgdown site last built 2026-10-04

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing silviculture adds 16 packages (10 with compiled code, 5.4 MB of source tarballs). Heaviest: vctrs 1.0 MB, dplyr 902 KB, rlang 766 KB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 0.1.0 (2025)
Author · added in 0.2.0
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    record
    2025-09-28 · current release · diff ↗ ·
    added 24 exports
    eq_biomass_cudjoe_2024, eq_biomass_dieguez_aranda_2009, eq_biomass_manrique_2017, eq_biomass_menendez_2022, eq_biomass_montero_2005, eq_biomass_ruiz_peinado_2011, eq_biomass_ruiz_peinado_2012, eq_hd_vazquez_veloso_2025, silv_density_hart, silv_density_ntrees_ha, silv_density_sdi, silv_predict_biomass, silv_predict_height, silv_sample_size_simple, silv_sample_size_stratified, silv_stand_basal_area, silv_stand_dominant_diameter, silv_stand_dominant_height, silv_stand_lorey_height, silv_stand_qmean_diameter, silv_treatment_thinning, silv_tree_basal_area, silv_tree_dclass, silv_tree_volume
  • 0.1.0
    record
    2025-05-29
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-05-29
Total releases
2 / 1 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
12 KB / 2 files
Download size
388 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("silviculture")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for silviculture version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy