Skip to content

Fix unit name for Nephelometric Turbidity Unit - #1

Merged
oggioniale merged 1 commit into
oggioniale:mainfrom
r-quantities:fix_install
Nov 17, 2026
Merged

oggioniale merged 1 commit into
oggioniale:mainfrom
r-quantities:fix_install

Conversation

@Enchufa2

Copy link
Copy Markdown
Contributor

Names, the same as symbols, must be single words in udunits2. This works with the current release just by chance. We are reworking how user units behave for the next release in r-quantities/units/pull/452, to make it much more robust and functional, and names with spaces will fail. The easiest solution is the one proposed in this PR: to substitute spaces with underscores, which is what udunits2 does in the default database, BTW, see units::valid_udunits().

@Enchufa2

Copy link
Copy Markdown
Contributor Author

Thanks! We would like to submit a new release of units soon, so it would be great if you could update your package first, at your earliest convenience, to avoid causing you trouble and streamline our update.

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