@BryceMcManus-NOAA I'll send updated data momentarily, but I'm getting this error in the Spatial QAQC line that I can't troubleshoot.
spat_qaqc_out <-
+ spatial_qaqc(scallop0322MainDataTable, project = project,
+ spat = scallop0322TenMNSQRSpatTable, lon.dat = "DDLON", lat.dat = "DDLAT")
st_as_s2(): dropping Z and/or M coordinate
st_as_s2(): dropping Z and/or M coordinate
Projection does not match. The detected projection in the spatial file will be used unless epsg is specified.29 observations (0.1%) occur on land.
st_as_s2(): dropping Z and/or M coordinate
41 observations (0.1%) are outside the regulatory zones.
10 observations (0%) occur on boundary line between regulatory zones.
st_as_s2(): dropping Z and/or M coordinate
st_as_s2(): dropping Z and/or M coordinate
Joining, by = c("dist", "YEAR")Error in `dplyr::summarise()`:
! Problem while computing `..1 = dplyr::across(dplyr::all_of(value), .fns =
match.fun(fun))`.
ℹ The error occurred in group 7: YEAR = 2016.
Caused by error in `FUN()`:
! Can't convert `..1` <table> to <table>.
Backtrace:
1. FishSET::spatial_qaqc(...)
6. dplyr:::summarise.grouped_df(...)
7. dplyr:::summarise_cols(.data, dplyr_quosures(...), caller_env = caller_env())
9. dplyr:::map(quosures, summarise_eval_one, mask = mask)
10. base::lapply(.x, .f, ...)
11. dplyr FUN(X[[i]], ...)
12.
@BryceMcManus-NOAA I'll send updated data momentarily, but I'm getting this error in the Spatial QAQC line that I can't troubleshoot.