fasstr Date Validate error
Rpaq opened this issue · comments
I am wanting to pull information from 2 gauge stations using fasstr and I get this message:
Station number: 07GB003
Error in date_validate()
:
! Corrupt Date
with unknown type logical.
ℹ In file 'type-date-time.c' at line 344.
ℹ Install the winch package to get additional debugging info the next time you get this error.
ℹ This is an internal error that was detected in the vctrs package.
Please report it at https://github.com/r-lib/vctrs/issues with a reprex (https://https://tidyverse.org/help/) and the full backtrace.
Backtrace:
▆
- ├─fasstr::calc_annual_lowflows(station_number = "07GB003", roll_days = 7)
- │ ├─base::
$<-
(*tmp*
, "MIN_DATE", value =<date>
) - │ ├─dplyr:::
$<-.grouped_df
(*tmp*
, "MIN_DATE", value =<date>
) - │ ├─base::NextMethod()
- │ └─tibble:::
$<-.tbl_df
(*tmp*
, "MIN_DATE", value =<date>
) - │ └─tibble:::tbl_subassign(...)
- │ └─tibble:::vectbl_recycle_rhs_rows(...)
- │ ├─base::withCallingHandlers(...)
- │ └─vctrs::vec_recycle(value[[j]], nrow)
- │ └─vctrs (local)
<fn>
() - │ └─vctrs::vec_proxy(x = x)
- │ └─vctrs:::date_validate(x)
- └─rlang:::stop_internal_c_lib(...)
- └─rlang::abort(message, call = call, .internal = TRUE, .frame = frame)
Station number: 07GB001
Error in date_validate()
:
! Corrupt Date
with unknown type logical.
ℹ In file 'type-date-time.c' at line 344.
ℹ Install the winch package to get additional debugging info the next time you get this error.
ℹ This is an internal error that was detected in the vctrs package.
Please report it at https://github.com/r-lib/vctrs/issues with a reprex (https://https://tidyverse.org/help/) and the full backtrace.
Backtrace:
▆
- ├─fasstr::calc_annual_lowflows(station_number = "07GB001", roll_days = 7)
- │ ├─base::
$<-
(*tmp*
, "MIN_DATE", value =<date>
) - │ ├─dplyr:::
$<-.grouped_df
(*tmp*
, "MIN_DATE", value =<date>
) - │ ├─base::NextMethod()
- │ └─tibble:::
$<-.tbl_df
(*tmp*
, "MIN_DATE", value =<date>
) - │ └─tibble:::tbl_subassign(...)
- │ └─tibble:::vectbl_recycle_rhs_rows(...)
- │ ├─base::withCallingHandlers(...)
- │ └─vctrs::vec_recycle(value[[j]], nrow)
- │ └─vctrs (local)
<fn>
() - │ └─vctrs::vec_proxy(x = x)
- │ └─vctrs:::date_validate(x)
- └─rlang:::stop_internal_c_lib(...)
- └─rlang::abort(message, call = call, .internal = TRUE, .frame = frame)
Closing in favor of bcgov/fasstr#93