Skip to content

Commit

Permalink
Avoid .data$ in dplyr::nest()
Browse files Browse the repository at this point in the history
See #128
  • Loading branch information
damianooldoni committed Jun 26, 2024
1 parent 36d06c3 commit 837d40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/indicator_total_year.R
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ indicator_total_year <- function(df, start_year_plot = 1940,
dplyr::rowwise() %>%
dplyr::do(year = .data$first_observed:maxDate) %>%
dplyr::bind_cols(df) %>%
tidyr::unnest(.data$year)
tidyr::unnest("year")

# calculate numbers to plot
counts_ias_grouped_by_year <-
Expand Down

0 comments on commit 837d40a

Please sign in to comment.