Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Illegal access of SYMSXP as CHAR #100

Closed
brodieG opened this issue Jul 13, 2020 · 0 comments
Closed

Illegal access of SYMSXP as CHAR #100

brodieG opened this issue Jul 13, 2020 · 0 comments
Labels
Milestone

Comments

@brodieG
Copy link
Owner

brodieG commented Jul 13, 2020

Something bad happening

interp_along <- function(points, targets) {
  vetr::vetr(
    matrix(numeric(),nrow=3) && ncol(.) > 1,
    numeric() && vetr::all_bw(., 0, 1)
  )
}
interp_along(matrix(0,3,10), c(0, .002, .004, .006, .5, 1))
## Error in vetr::vetr(matrix(numeric(), nrow = 3) && ncol(.) > 1, numeric() &&  : 
##  CHAR() can only be applied to a 'CHARSXP', not a 'symbol'

Doesn't happen if we use all_bw instead of vetr::all_bw.

@brodieG brodieG added the bug label Jul 13, 2020
@brodieG brodieG added this to the 0.2.10 milestone Jul 13, 2020
brodieG added a commit that referenced this issue Nov 4, 2020
@brodieG brodieG closed this as completed in 0e33ea7 Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant