Skip to content

fix object_usage_linter with new xml2lang to avoid parsing comments #1935

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

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

MichaelChirico
Copy link
Collaborator

Closes #1919

@gaborcsardi, this helper (for going from xml back to parseable R code) might be something {xmlparsedata} could export, WDYT?

For now I'm leaving it as an internal helper here.

@codecov-commenter
Copy link

codecov-commenter commented Mar 26, 2023

Codecov Report

Merging #1935 (4ca8229) into main (e6cfd4e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 4ca8229 differs from pull request most recent head 0dc1a10. Consider uploading reports for the commit 0dc1a10 to get more accurate results

@@           Coverage Diff           @@
##             main    #1935   +/-   ##
=======================================
  Coverage   98.85%   98.85%           
=======================================
  Files         112      112           
  Lines        4874     4876    +2     
=======================================
+ Hits         4818     4820    +2     
  Misses         56       56           
Impacted Files Coverage Δ
R/object_usage_linter.R 99.39% <100.00%> (ø)
R/utils.R 98.29% <100.00%> (+0.02%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@gaborcsardi
Copy link
Member

Yeah, it could. A PR is welcome.

Copy link
Collaborator

@IndrajeetPatil IndrajeetPatil left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Should we add a TODO as a reminder to remove this internal helper once it makes upstream?

@IndrajeetPatil IndrajeetPatil merged commit e81967e into main Mar 29, 2023
@IndrajeetPatil IndrajeetPatil deleted the obj-glue-comment branch March 29, 2023 09:49
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.

Comment in glue() range causes parse failure in object_usage_linter
4 participants