r-quantities / units

Measurement units for R
https://r-quantities.github.io/units
175 stars 28 forks source link

Add load_units_xml() #254

Closed Enchufa2 closed 3 years ago

Enchufa2 commented 3 years ago

New function to load a user-provided XML file or to reload the default one if no path is provided. Closes #243 (not supported) and #244 (addressed here).

codecov[bot] commented 3 years ago

Codecov Report

Merging #254 (5b1d02c) into master (5167a69) will decrease coverage by 0.10%. The diff coverage is 85.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
- Coverage   94.20%   94.09%   -0.11%     
==========================================
  Files          19       20       +1     
  Lines         914      897      -17     
==========================================
- Hits          861      844      -17     
  Misses         53       53              
Impacted Files Coverage Δ
R/init.R 8.33% <50.00%> (-7.06%) :arrow_down:
R/database.R 81.48% <81.48%> (ø)
R/valid_udunits.R 100.00% <100.00%> (+7.93%) :arrow_up:

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 cc1911f...5b1d02c. Read the comment docs.

Enchufa2 commented 3 years ago

@edzer Kind reminder.

edzer commented 3 years ago

Great work - thanks!!