Skip to content

vectorize ud_* helpers#405

Merged
edzer merged 2 commits intomainfrom
udvec
Mar 13, 2025
Merged

vectorize ud_* helpers#405
edzer merged 2 commits intomainfrom
udvec

Conversation

@Enchufa2
Copy link
Member

Closes #404

@pepijn-devries Is this what you need?

@Enchufa2 Enchufa2 requested a review from edzer March 12, 2025 17:04
Copy link

@pepijn-devries pepijn-devries left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I tried it with

units::ud_are_convertible(
  c("mg/L", "g/L", "hg/L", "mmol/L"),
  "ug/L"
)

and gave the result I need

@edzer edzer merged commit 3fa5ae6 into main Mar 13, 2025
28 checks passed
@edzer
Copy link
Member

edzer commented Mar 13, 2025

Great, thanks!

@Enchufa2 Enchufa2 deleted the udvec branch March 13, 2025 09:29
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.

Vectorize ud_*() helpers

3 participants