Skip to content

Commit

Permalink
Fix type_convert_silent
Browse files Browse the repository at this point in the history
  • Loading branch information
caldwellst committed Apr 30, 2024
1 parent 5c66109 commit c73a315
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Development

* Fixed `type_convert_silent()` to parse `NA` strings as characters, not explicit
missing values.

# ripc 0.3.0

* Restructured API calls so that `ipc_get()` is more robust by defaulting
Expand Down
3 changes: 2 additions & 1 deletion R/population_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ type_convert_silent <- function(df) {
if (is.data.frame(df)) {
df <- suppressMessages(
readr::type_convert(
df = df
df = df,
na = ""
)
)
}
Expand Down

0 comments on commit c73a315

Please sign in to comment.