Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve R CMD check failures #40

Merged
merged 3 commits into from
May 3, 2024

Conversation

amanda-hi
Copy link
Contributor

@amanda-hi amanda-hi commented Apr 30, 2024

Overview of Pull Request

The OS specified for GHA checks and tests was recently updated from ubuntu-latest to macos-12. This has resulted in failures for both R CMD checks and testing suites when GHA PR checks are performed, when they previously were consistently passing. There must be a mismatch in the environments used by GHA checks and the SomaPlotr developers/maintainers, which needs to be resolved so that GHA checks match checks performed locally.

The *.yaml config files for GHA need updates to better sync these environments.


Internal Use Only

Change Type

Please check the relevant box(es):

Reviewer by Department

Department Reviewer Change Type
Bioinformatics @amanda-hi Code, bugs, features
@stufield bugs, features
Legal @SLbmangum LICENSE
Product @kmurugesan14 Documentation
Regulatory @nmcnabbSL Documentation

@amanda-hi amanda-hi added the bug Something isn't working label Apr 30, 2024
@amanda-hi amanda-hi self-assigned this Apr 30, 2024
@amanda-hi amanda-hi force-pushed the resolve-test-failures branch 5 times, most recently from 69ade10 to fab0ac6 Compare May 1, 2024 22:45
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 25.00000% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 44.74%. Comparing base (e013c80) to head (7b2d9bb).
Report is 20 commits behind head on main.

❗ Current head 7b2d9bb differs from pull request most recent head fab0ac6. Consider uploading reports for the commit fab0ac6 to get more accurate results

Files Patch % Lines
R/style-risk.R 0.00% 2 Missing ⚠️
R/style-soma.R 50.00% 1 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
+ Coverage   42.89%   44.74%   +1.85%     
==========================================
  Files          29       29              
  Lines        1119     1104      -15     
==========================================
+ Hits          480      494      +14     
+ Misses        639      610      -29     

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

@amanda-hi amanda-hi force-pushed the resolve-test-failures branch 4 times, most recently from 69f9a38 to f1757cb Compare May 2, 2024 18:58
- the `scale_name` argument of ggplot2::discrete_scale() was deprecated
  in ggplot v3.5.0
- removed all instances of `scale_name =` from the custom scales defined in
  SomaPlotr (ex. `scale_color_soma()`)
@amanda-hi amanda-hi changed the title Resolve test failures Resolve R CMD check failures May 3, 2024
- updated 'checkout' action to v4, as a node used by the previous
  version (v3) is now deprecated
- specified R version to use on MacOS and Windows, to match SomaLogic's development
  and maintenance environment
@amanda-hi amanda-hi force-pushed the resolve-test-failures branch 2 times, most recently from d0f5280 to 3093a43 Compare May 3, 2024 21:19
- 'run-on' OS (defined in GHA *.yaml files) was previously set to
  MacOS-12
- current SomaPlotr developer/maintainer environments use MacOS-14; the
  difference in OS versions resulted in testthat snapshot testing errors
- updated run-on OS to 'macos-14' and re-generated all required unit
  test snapshots
@amanda-hi amanda-hi merged commit 16d1a54 into SomaLogic:main May 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants