Skip to content

Commit

Permalink
Rollback NA change - broke working code while only allowing some edge…
Browse files Browse the repository at this point in the history
…cases of malformed aux data
  • Loading branch information
adriansteffan committed Aug 23, 2024
1 parent 9d75286 commit d52255a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: peekbankr
Type: Package
Title: Accessing the Peekbank Database
Version: 0.1.1.9006
Version: 0.1.1.9007
Authors@R: c(
person("Mika", "Braginsky", email = "[email protected]", role = c("aut", "cre")),
person("Kyle", "MacDonald", email = "[email protected]", role = "aut"),
Expand Down
3 changes: 0 additions & 3 deletions R/peekbankr.R
Original file line number Diff line number Diff line change
Expand Up @@ -548,9 +548,6 @@ unpack_aux_data <- function(df) {

aux_cols <- lapply(col_names, \(col_name) {
sapply(aux_list, \(aux) {
if(!(col_name %in% colnames(aux))){
aux[[col_name]] <- NA
}
aux[col_name]
})
}) |>
Expand Down

0 comments on commit d52255a

Please sign in to comment.