Skip to content

Release Biomass_borealDataPrep 1.8.0 - #137

Merged
eliotmcintire merged 258 commits into
mainfrom
development
Oct 8, 2026
Merged

eliotmcintire merged 258 commits into
mainfrom
development

Conversation

@eliotmcintire

Copy link
Copy Markdown
Collaborator

This moves the work on development into main as release 1.8.0. Main has not been updated since version 1.5.7, so this brings SCANFI inputs, the wetland layer, estimated deciduous cover weight and many fixes to starting parameters.

Affects: starting parameters (maxB, establishment, ages, vegetation types) change for most study areas; renamed inputs (studyAreaLarge/rasterToMatchLarge -> *_biomassParam) need project updates.

Technical details
  • Version 1.7.1.9002 -> 1.8.0; the development-version NEWS heading becomes 1.8.0 with a two-paragraph summary.
  • main..development: 256 commits; development..main is empty, so the merge is clean.
  • To be merged with a merge commit; tag v1.8.0 and the GitHub release follow, then development goes to 1.8.0.9000.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QewQ83bbo8r7SW4WceE29U

ianmseddy and others added 30 commits April 25, 2025 15:15
Removed URL assignment and switched to new dataSource Parameter. Currently set to KNN (function default) but could be changed to SCANFI in future.
Seems to have been done by gitkraken.
github-actions Bot and others added 25 commits September 22, 2026 21:58
Biomass_borealDataPrep.R:130-131 hardcoded a Gaussian age ~ log(totalBiomass)
* cover * speciesCode model, which predict() could push negative for young,
high-cover, low-biomass stands; that was clamped to age 0 with biomass > 0,
which CBMutils::cumPoolsCreateAGB() rejects (#131). The parameter now
defaults to LandR::imputeBadAgeModelDefault(), which fits log(age) instead,
and the LandR floor is raised to >= 1.2.0.9035 to require it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv
LandR#248, which adds the function, is now 1.2.0.9039; 9035 no longer
identifies it (development is already at 9038 without it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add crayon, curl, httr, lme4, Require and tidyterra to reqdPkgs; the module's code uses them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CwcjqqK59FmTJscyi7xUqv
…orealDataPrep

chore: missing packages in reqdPkgs
pkg::fun() resolves without attaching or importing the package, and LandR
already installs each of them; listed, they are attached for every module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts:
#	Biomass_borealDataPrep.R
#	NEWS.md
development reached 9042 without #248, so the 9039 floor no longer ensured imputeBadAgeModelDefault().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sponse-bdp

imputeBadAgeModel default: use LandR::imputeBadAgeModelDefault()
…AndCleanInitialCohortData

Needs LandR#264 (and its version bump to 1.2.0.9046).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NrcKsYkv9Qx5qU4JTxSzGN
…onShare

minSpeciesEcoregionShare: remove species rare in an ecoregion (default 0.07)
Version 1.7.1.9002; keep both NEWS entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dev versions share one '# Biomass_borealDataPrep (development version)' heading, as use_news_md()/use_version() write it; release headings become '# Biomass_borealDataPrep x.y.z'. Text unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eaName message

Each module worded this message slightly differently, or had none. The
message now comes from reproducible (PredictiveEcology/reproducible#638), so
it is the same everywhere. An older reproducible ignores the argument: same
name, no message, so no version floor is needed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Supplied

Same 'not supplied' message for .studyAreaName as the other modules
reqdPkgs is the module's install list as well as its attach list, so
packages called only as pkg::fun() stay listed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QewQ83bbo8r7SW4WceE29U
@eliotmcintire eliotmcintire added bug Something isn't working enhancement New feature or request breaking change Existing code or results need changes to keep working labels Oct 8, 2026
@eliotmcintire
eliotmcintire merged commit bd13b71 into main Oct 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Existing code or results need changes to keep working bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants