Running examples in ‘halk-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in ‘halk-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in ‘halk-Ex.R’ failed
The error most likely occurred in:

> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in ‘halk-Ex.R’ failed
The error most likely occurred in:

> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in 'halk-Ex.R' failed
The error most likely occurred in:

> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in ‘halk-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in ‘halk-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in 'halk-Ex.R' failed
The error most likely occurred in:

> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted
Running examples in 'halk-Ex.R' failed
The error most likely occurred in:

> ### Name: calc_stat_scores
> ### Title: Compute test statistics for comparing actual and estimated ages
> ### Aliases: calc_stat_scores calc_ks_score calc_chi_score
> 
> ### ** Examples
> 
> halk <- make_halk(spp_data, levels = c("spp"))
> newdat <- laa_data
> newdat$spp <- "bluegill"
> pred_ages <- assign_ages(newdat, halk)
> calc_ks_score(pred_ages)
Error in `dplyr::summarize()`:
ℹ In argument: `ks.stat = purrr::map_df(...)`.
ℹ In group 1: `spp = "bluegill"`.
Caused by error:
! `ks.stat` must be size 1, not 11.
ℹ To return more or less than 1 row per group, use `reframe()`.
Backtrace:
     ▆
  1. ├─halk::calc_ks_score(pred_ages)
  2. │ └─... %>% dplyr::ungroup()
  3. ├─dplyr::ungroup(.)
  4. ├─tidyr::unnest(., cols = c(.data$ks.stat))
  5. ├─dplyr::summarize(...)
  6. ├─dplyr:::summarise.grouped_df(...)
  7. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
  8. │   └─base::withCallingHandlers(...)
  9. ├─dplyr:::dplyr_internal_error(...)
 10. │ └─rlang::abort(class = c(class, "dplyr:::internal_error"), dplyr_error_data = data)
 11. │   └─rlang:::signal_abort(cnd, .file)
 12. │     └─base::signalCondition(cnd)
 13. └─dplyr (local) `<fn>`(`<dpl:::__>`)
 14.   └─dplyr (local) handler(cnd)
 15.     └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted