Closes #108 error message update for spec_to_metacore() - #141
Conversation
spec_to_metacore()
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #141 +/- ##
==========================================
+ Coverage 87.98% 89.66% +1.67%
==========================================
Files 9 9
Lines 1406 1412 +6
==========================================
+ Hits 1237 1266 +29
+ Misses 169 146 -23 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Can we make a code suggestion to the user on possible way to fix the issue? |
Getting closer: |
|
|
I love it!! |
LiamHobby
left a comment
There was a problem hiding this comment.
Looks really great to me. Can we add a test covering this? The "spec_no_val.xlsx" file under tests/testthat produces the same error so we can use that in the test case? Thanks
Added a test @LiamHobby and @bms63 |
LiamHobby
left a comment
There was a problem hiding this comment.
Really informative messaging and great test coverage. Thanks a lot!
This may have been a typo from recent fixes for error messaging @LiamHobby @bms63
Update from:
to this:
when loading the spec from
{pharmaverseadam}:mc <- spec_to_metacore("../pharmaverseadam/inst/extdata/adams-specs.xlsx", quiet = TRUE)