Skip to content

Commit

Permalink
Test fix for mget memory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsnow committed Jul 4, 2023
1 parent 2c89b1f commit 9766d51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/tax_bill.R
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ tax_bill <- function(year_vec,
on = .(year, pin),
c("av", "eav", "class", "exe_total") := .(
i.av, i.eav, i.class,
rowSums(data.table::as.data.table(mget(exe_cols)))
rowSums(data.table::as.data.table(mget(exe_cols, inherits = TRUE)))
)
]
dt[class == "239", eav := av] # farmland is taxed on AV, not EAV
Expand Down

0 comments on commit 9766d51

Please sign in to comment.