Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
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

Replace '&' with '&' when exporting to HTML or XML #249

Merged
merged 2 commits into from Dec 17, 2019

Conversation

@bokov
Copy link
Contributor

bokov commented Dec 4, 2019

Except column headers for XML where '&' and ' ' both get replaced by '.'. Fixes #234

Please ensure the following before submitting a PR:

  • if suggesting code changes or improvements, open an issue first
  • for all but trivial changes (e.g., typo fixes), add your name to DESCRIPTION
  • for all but trivial changes (e.g., typo fixes), documentation your change in NEWS.md with a parenthetical reference to the issue number being addressed
  • if changing documentation, edit files in /R not /man and run devtools::document() to update documentation not applicable
  • add code or new test files to /tests for any new functionality or bug fix
  • make sure R CMD check runs without error before submitting the PR

TravisCI builds for this project still are failing (#246 and #242) and so this one will fail too. The simplest and fastest way to address that is to simply remove xcode8.3 from .travis.yml, so a more current default xcode version will be used for osx tests. Also, the manual install of llvm on osx is no longer required, the problem is fixed at the CRAN level (until the next R version bump?). Now it just contributes to CI failures by taking too long. In other words, the changes proposed in #247 (without the minor tweaks).

After I submit this PR, I will submit an additional commit on this branch that makes the above two changes so you could see that the tests do pass. I apologize for deviating from normal "one issue per PR" process.

bokov added 2 commits Dec 3, 2019
… headers for XML where '&' and ' ' both get replaced by '.'. Fixes #234
@codecov-io

This comment has been minimized.

Copy link

codecov-io commented Dec 4, 2019

Codecov Report

Merging #249 into master will increase coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
+ Coverage   82.81%   82.91%   +0.09%     
==========================================
  Files          18       18              
  Lines         902      907       +5     
==========================================
+ Hits          747      752       +5     
  Misses        155      155
Impacted Files Coverage Δ
R/export_methods.R 89.79% <100%> (+0.35%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 443bbef...62f5cf8. Read the comment docs.

@bokov

This comment has been minimized.

Copy link
Contributor Author

bokov commented Dec 4, 2019

This is the minor TravisCI patch I promised earlier.

@leeper leeper merged commit 2991a10 into leeper:master Dec 17, 2019
4 checks passed
4 checks passed
codecov/patch 100% of diff hit (target 82.81%)
Details
codecov/project 82.91% (+0.09%) compared to 443bbef
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@leeper

This comment has been minimized.

Copy link
Owner

leeper commented Dec 17, 2019

Sweet!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.