Skip to content

v1.6.9 - #321

Merged
jhollway merged 7 commits into
mainfrom
develop
Aug 11, 2026
Merged

v1.6.9#321
jhollway merged 7 commits into
mainfrom
develop

Conversation

@jhollway

Copy link
Copy Markdown
Member

Description

Package

  • Improved stocnet version check, consolidating into {migraph} so that it runs once rather than three times
    • Also consults each package's GitHub repository, so a fix that is released but not yet published on CRAN is reported; where both sources agree, CRAN is recommended, since it needs no compiler or {remotes}
    • Results are cached for seven days in tools::R_user_dir("migraph", "cache"), so most sessions make no network request at all
    • Check is skipped in non-interactive sessions, fails silently when offline or when no repository is configured, and can be disabled with options(snet_check_version = FALSE)

Learning

  • Improved empty run_tute() listing of tutorials to suggest manynet>autograph>netrics>migraph sequence

Checklist:

  • Documentation
    • Longer functions are commented inline or broken down into helper functions to help debugging
  • PR form
    • PR description above and the NEWS.md file are aligned

Copilot AI lite review requested due to automatic review settings August 11, 2026 12:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps migraph to v1.6.9, consolidating the stocnet stack’s “new version available” check into {migraph} (with caching and GitHub fallback) and adjusting the empty run_tute() tutorial listing to reflect the intended package progression.

Changes:

  • Add a single cached attach-time version check for {migraph}, {manynet}, {autograph}, and {netrics}, consulting CRAN and GitHub.
  • Update run_tute() package order and preserve that order in the empty listing output.
  • Bump package version and align release notes / CRAN comments for the new behavior.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
R/zzz.R Adds consolidated, cached CRAN/GitHub version checking on attach.
R/tutorial_run.R Reorders stocnet package sequence and preserves listing order.
NEWS.md Documents v1.6.9 changes (version check + tutorial listing).
NAMESPACE Formats import blocks (no functional change intended).
DESCRIPTION Bumps version to 1.6.9 and updates roxygen2 config version.
cran-comments.md Documents attach-time caching + internet behavior for CRAN submission.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread R/zzz.R
Comment thread R/zzz.R
Comment thread R/zzz.R
Comment thread R/zzz.R Outdated
@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.17%. Comparing base (f5c6ff9) to head (cd91db3).
⚠️ Report is 17 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #321      +/-   ##
==========================================
- Coverage   61.22%   61.17%   -0.06%     
==========================================
  Files           9        9              
  Lines         717      716       -1     
==========================================
- Hits          439      438       -1     
  Misses        278      278              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jhollway and others added 4 commits August 11, 2026 14:59
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@jhollway
jhollway merged commit 09157fe into main Aug 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants