Skip to content

Commit

Permalink
fix #92
Browse files Browse the repository at this point in the history
  • Loading branch information
marianschmidt committed Mar 1, 2023
1 parent a87ab3c commit a8cd212
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
### Bug fixes
* make `calc_refrates()` more robust for missing `race_var` (Closes #89)
* fix bug in `calc_refrates()` using `calc_totals == TRUE` (Closes #90)
* fix bug in `calc_refrates()` using numeric versions of `fill_sites` (Closes #92)

### Internal
* replace progress bars by `cli`
Expand Down
3 changes: 3 additions & 0 deletions R/calc_refrates.R
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,9 @@ calc_refrates <- function(df,
if(fill_sites[1] == "manual"){
sites_all <- fill_sites[-1]
}

sites_all <- as.character(sites_all)

} else{
fill <- FALSE
}
Expand Down

0 comments on commit a8cd212

Please sign in to comment.