You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(vctrs)
vec_as_location2("-1", 4, as.character(-1:2))
#> [1] 1
vec_as_location2("0", 4, as.character(-1:2))
#> Error: Must extract element with a single valid subscript.#> x Subscript has value 0 but must be a positive location.
vec_as_location2("1", 4, as.character(-1:2))
#> [1] 3
vec_as_location2("2", 4, as.character(-1:2))
#> [1] 4
gives a weird error, on ebbc500.
Created on 2020-06-01 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: