Skip to content

fix: address CRAN submission policy issues#19

Merged
jasonad123 merged 4 commits intoprep/cranfrom
claude/review-cran-submission-NMkl8
Feb 11, 2026
Merged

fix: address CRAN submission policy issues#19
jasonad123 merged 4 commits intoprep/cranfrom
claude/review-cran-submission-NMkl8

Conversation

@jasonad123
Copy link
Owner

  • Namespace httr2::resp_content_type() to fix runtime error
  • Replace \dontrun{} with \donttest{} and @examplesIf FALSE
  • Route cli_alert_*() through cli_inform() (message stream)
  • Replace print() with cli_inform() in download_feed()
  • Add interactive confirmation for .Renviron writes
  • Fix vignette chunk label containing space

https://claude.ai/code/session_01Jp2rybPthFcWNaHPK7DioN

- Namespace httr2::resp_content_type() to fix runtime error
- Replace \dontrun{} with \donttest{} and @examplesIf FALSE
- Route cli_alert_*() through cli_inform() (message stream)
- Replace print() with cli_inform() in download_feed()
- Add interactive confirmation for .Renviron writes
- Fix vignette chunk label containing space

https://claude.ai/code/session_01Jp2rybPthFcWNaHPK7DioN
@github-actions
Copy link

Preview Deployment

🚀 Preview URL: https://91b0f188.mobdb.pages.dev

Branch alias: https://claude-review-cran-submissio.mobdb.pages.dev

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 58.62069% with 24 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
R/cache.R 69.69% 10 Missing ⚠️
R/utils-auth.R 9.09% 10 Missing ⚠️
R/utils-helpers.R 72.72% 3 Missing ⚠️
R/integration-tidytransit.R 66.66% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

- Auth: test set_renviron_key() write/replace/preserve, mobdb_set_key()
  install path in non-interactive mode, message emission
- Cache: test cli_inform()/cli_warn() message stream routing for
  read_from_cache(), mobdb_cache_info(), mobdb_cache_list(),
  mobdb_cache_clear(), and mobdb_cache_path()
- Cache: test install=TRUE .Renviron write, overwrite=FALSE error,
  overwrite=TRUE replacement
- Integration: test multiple-feeds table displays via message stream
  using local_mocked_bindings instead of API fixtures

https://claude.ai/code/session_01Jp2rybPthFcWNaHPK7DioN
@github-actions
Copy link

Preview Deployment

🚀 Preview URL: https://efc332ab.mobdb.pages.dev

Branch alias: https://claude-review-cran-submissio.mobdb.pages.dev

The cache expiry message was passed as a named argument instead of
a named character vector, preventing proper message stream routing.

https://claude.ai/code/session_01Jp2rybPthFcWNaHPK7DioN
- Use hasName() before accessing validation_report, url_html, url_json
  via $ on tibbles to prevent "Unknown or uninitialised column" warnings
- Guard url_html/url_json extraction with hasName() since the API may
  not always include these fields
- Add url_html and url_json to test mock validation_report tibble
- Add assertions for html_report and json_report extraction

https://claude.ai/code/session_01Jp2rybPthFcWNaHPK7DioN
@github-actions
Copy link

Preview Deployment

🚀 Preview URL: https://620fabea.mobdb.pages.dev

Branch alias: https://claude-review-cran-submissio.mobdb.pages.dev

@github-actions
Copy link

Preview Deployment

🚀 Preview URL: https://def03844.mobdb.pages.dev

Branch alias: https://claude-review-cran-submissio.mobdb.pages.dev

@jasonad123 jasonad123 merged commit fbaf15d into prep/cran Feb 11, 2026
6 checks passed
@jasonad123 jasonad123 deleted the claude/review-cran-submission-NMkl8 branch February 11, 2026 16:04
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