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

Incompatible with conflicted package #52

Open
jyoungs opened this issue Aug 13, 2019 · 0 comments
Open

Incompatible with conflicted package #52

jyoungs opened this issue Aug 13, 2019 · 0 comments

Comments

@jyoungs
Copy link

jyoungs commented Aug 13, 2019

Trying to add the conflicted package to my project; getting this error when trying to load CVXR while conflicted is loaded. Not really sure where it's coming from, but figured I'd raise it.

Registered S3 method overwritten by 'R.oo':
  method        from       
  throw.default R.methodsS3
Error: `fn` must be an R function, not a primitive function
Call `rlang::last_error()` to see a backtrace

> rlang::last_error()
<error>
message: `fn` must be an R function, not a primitive function
class:   `rlang_error`
backtrace:
 1. conflicted:::library(CVXR, warn.conflicts = FALSE)
 2. conflicted:::conflicts_register()
 3. conflicted::conflict_scout(pkgs)
 4. conflicted:::map2(names(conflicts), conflicts, superset_principle)
 5. base::mapply(.f, .x, .y, MoreArgs = list(...), SIMPLIFY = FALSE)
 7. conflicted:::is_superset(fun, non_base, base = base)
 8. rlang::fn_fmls(base_obj)
 9. rlang:::check_closure(fn)```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant