Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

fct_explicit_na deprecated using fct_na_value_to_level instead #12

Merged
merged 1 commit into from
May 24, 2024

Conversation

murraycadzow
Copy link

Forcats 1.0.0 depreciated fct_explicit_na
Equivalent way is now fct_na_value_to_level(sex, "(Missing)")

Closes #11

Forcats 1.0.0 depreciated `fct_explicit_na`
Equivalent way is now `fct_na_value_to_level(sex, "(Missing)")`

Fixes/addresses datacarpentry#11
Copy link

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files or spoofing.

It should be safe to Approve and Run the workflows that need maintainer approval.

Copy link
Member

@tobyhodges tobyhodges left a comment

Choose a reason for hiding this comment

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

Thanks @murraycadzow. I find this new function much easier to understand than what was used before, so this is good news as far as I am concerned!

@tobyhodges tobyhodges merged commit ed31576 into datacarpentry:main May 24, 2024
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fct_explicit_na() deprecated
2 participants