Mapply error after updating R and tidyverse
问题 I have been working on a rejection sampling code using several loops. After updating R and tidyverse I found that the code no longer works, displaying the following error: Error: Assigned data `mapply(...)` must be compatible with existing data. i Error occurred for column `sampled`. x Can't convert from <integer> to <logical> due to loss of precision. * Locations: 1. Run `rlang::last_error()` to see where the error occurred. In addition: Warning message: In seq.default(x, y, na.rm = TRUE) :