Running ‘testthat.R’
ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
Error in `dplyr::filter(sed_monthly_loads, !!sym_YEAR >= lubridate::year(start_date))`: Problem while computing `..1 = Year >= lubridate::year(start_date)`
Caused by error:
! Object `Year` not found.
── Error (test_hy_sed_monthly_suscon.R:51:3): hy_sed_monthly_suscon respects Date specification ──
Error in `dplyr::filter(sed_monthly_suscon, !!sym_YEAR >= lubridate::year(start_date))`: Problem while computing `..1 = Year >= lubridate::year(start_date)`
Caused by error:
! Object `Year` not found.
── Error (test_hy_sed_monthly_suscon.R:64:3): functions that accept a date argument return data when specifying only the start date or end date ──
Error in `dplyr::filter(sed_monthly_suscon, !!sym_YEAR >= lubridate::year(start_date))`: Problem while computing `..1 = Year >= lubridate::year(start_date)`
Caused by error:
! Object `Year` not found.
[ FAIL 8 | WARN 0 | SKIP 18 | PASS 187 ]
Error: Test failures
Execution halted
The problems comes from this change in dbplyr
Variables that are neither found in the data nor in the environment now
produce an error (@mgirlich, #907).
It seems the data has the variable YEAR. As the check is case sensitive this fails.
We plan to release dbplyr soon so it would be great if you could fix this issue.
We see
checking tests ...
The problems comes from this change in dbplyr
It seems the data has the variable
YEAR
. As the check is case sensitive this fails. We plan to release dbplyr soon so it would be great if you could fix this issue.