Repository navigation
OpenPVA 2.1.0: managed genetics, correlated environments, base-R plots, Rosetta Stone vignette - #3
Merged
Merged
Conversation
…ents, plots, Rosetta vignette
…bcurl4-openssl-dev for Linux V8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Complete conservation-practitioner toolkit and CRAN-ready release (
OpenPVA 2.1.0), preserving pure base + recommended R (Depends: R (>= 4.1.0),NeedsCompilation: no,VignetteBuilder: litedown, zero external runtimeImports).Highlights
mate_min_kinship()(polygyny), exact shortest-augmenting-path bipartite assignment inpairing_process(priority = "kinship" | "mean_kinship", max_kinship = , by = ), individualmean_kinship(), exact Lacy (1995)founder_genome_equivalents(n^2 / (2 * sum(K))), rectangularkinship_matrix(against = ), and optional engine-owned non-perturbing neutral-locus gene drop (pva_state(n_loci = ),summarise_markers(),marker_founder_shares(),genetic_metrics()) with isolated L'Ecuyer substreams and Box–Muller cache preservation.env_ar1(),env_trend(), andspatial_correlation()composing directly insideenvironment_process()viacontext$variable, with name-aligned inputs, rank-revealing Cholesky (rho = 1supported,1e-8PSD reconstruction tolerance), and BLAS-free R accumulation for bit-identical serial / fork / PSOCK parity.plot.pva_run()(50%/90% trajectory fan ribbons, stepwise Wilson first-passage risk curve, cohort-split accounting,add = TRUEoverlays, activepar("usr")coordinates),pva_ensembleclass withplot.pva_ensemble()andprint.pva_ensemble(), extinction-awaresummarise_trajectory()(n_observed&n_extant), and per-process cohort-stock checks insummarise_accounting().litedownvignette (vignettes/rosetta.Rmd) mapping verified GAPPS commands, illustrative Vortex sequence, harvest/release order sensitivity, Leslie projection (barry.brook@utas.edu.au); S3 Rd generation; and full cross-platform vignette + PDF manual CI.Verification
BWBrook/research-advisorTrack B (unanimous 3-for-3 B3 backbonecandidate-claude, B4 hardening/harvest by Codexgpt-6.2-astra, final read-only B5 diff audit by ClaudeFable 5.2:Verdict: GO, plus four non-blocking B5 micro-polishes folded into this branch).R CMD build .(withlitedownHTML vignette) +R CMD check --as-cran --no-manual: 0 errors, 0 warnings, 1 NOTE (New submission), 2,448 PASS / 0 FAIL / 0 WARN / 0 SKIP.strictscaling gate:16.12 swall /1,210 MiBtree RSS (zero regression vsv2.0.1); large-pedigree oracle (2500 / 5000 / 1998→2002):0 / 0 / 4.34e-19.