Skip to content

parzer 0.6.1: minus sign separated from the digits - #67

Merged
AlbanSagouis merged 8 commits into
mainfrom
dev
Dec 1, 2026
Merged

AlbanSagouis merged 8 commits into
mainfrom
dev

Conversation

@AlbanSagouis

Copy link
Copy Markdown
Collaborator

Summary

Release 0.6.1: minus signs that are separated from the digits.

  • Merges fix: detect leading minus sign separated from digits after a prefix #66 (Chen-Yang Su): "- 45.5", "(- 45.5)" and "S - 45" are now negative, and "N - 45" gives NA with a warning, like "N -45". Before, the sign was lost and "N - 45" gave 45.
  • One minus check (is_negative(), before the first digit) replaces the two checks in convert_lat() and convert_lon().
  • The format argument accepts spaces between a sign and the digits, as format = NULL does.
  • New "Minus sign" section in ?parse_lat and ?parse_lon, new examples and table rows, a NEWS entry.
  • Chen-Yang Su added as contributor; version 0.6.1; codemeta.json regenerated.

Closes #66 once merged (its commits are in this branch).

Tests

  • Full test suite: 2056 expectations, 0 failures, 0 warnings.
  • Local R CMD check --as-cran: 0 errors, 0 warnings, 0 notes.
  • win-builder (devel and release) submitted; results are sent by email.

@AlbanSagouis
AlbanSagouis merged commit 75085cf into main Dec 1, 2026
5 checks passed
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.

2 participants