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
What I am doing is not exactly good practice anyway but I don't really understand why I am getting an error from strict here.
I have a package that creates a structure named list as list = structure(NA, class = 'result') and exports it. I have isolated this and placed it in this package. What it does isn't really important but when this package is loaded, if I try to use dplyr, I get an error
Error in filter_impl(.data, quo) : Evaluation error: [strict]
Multiple definitions found for `list`.
Please pick one:
* unpack::list
* base::list
Call `rlang::last_error()` to see a backtrace.
The code above does not try to use list which made me wonder if it can be avoided and why is it happening in the first place.
The text was updated successfully, but these errors were encountered:
I'm sure it's that dplyr::filter is using a list under the hood (getting called in structure_filter I think), which would invoke the error. This would mean that strict is working as intended
What I am doing is not exactly good practice anyway but I don't really understand why I am getting an error from strict here.
I have a package that creates a structure named
list
aslist = structure(NA, class = 'result')
and exports it. I have isolated this and placed it in this package. What it does isn't really important but when this package is loaded, if I try to use dplyr, I get an errorThe code above does not try to use
list
which made me wonder if it can be avoided and why is it happening in the first place.The text was updated successfully, but these errors were encountered: