debug: res$amount <- as.numeric(res$amount)
Browse[2]> res
# A tibble: 4 × 1
value
* <chr>
1 N13 5UR
2 1585560
3 2016-12-21
4 Additional price paid transaction
Browse[2]> n
Error in `$<-`:
! Assigned data `as.numeric(res$amount)` must be compatible with existing data.
✖ Existing data has 4 rows.
✖ Assigned data has 0 rows.
ℹ Only vectors of size 1 are recycled.
Caused by error in `vectbl_recycle_rhs_rows()`:
! Can't recycle input of size 0 to size 4.
Run `rlang::last_trace()` to see where the error occurred.
Warning message:
Unknown or uninitialised column: `amount`.
i guess the error comes from the fact that there is just one transaction.
i guess the error comes from the fact that there is just one transaction.