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

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

Merged
merged 2 commits into from
Dec 17, 2019

Conversation

bokov
Copy link
Contributor

@bokov 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.

@codecov-io
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
Copy link
Contributor Author

bokov commented Dec 4, 2019

This is the minor TravisCI patch I promised earlier.

@leeper leeper merged commit 2991a10 into gesistsa:master Dec 17, 2019
@leeper
Copy link
Contributor

leeper commented Dec 17, 2019

Sweet!

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.

Ampersands not escaped in xml export
3 participants