I got for the following code
for (i in c(1:(ncol(df_multi_paths_cols) - 1))) {
df_cache <- df_multi_paths_cols %>%
select(num_range(\"ord_\", c(
This is because of the conflicts in packages, i.e., summarize/summarise is present in both the "dplyr" package and the "plyr" package. It is likely the function got called from the wrong package, resulting in this error. We can call the function while referencing its package to avoid such an issue.
To demonstrate:
# Call summarise from plyr library
plyr::summarise(count = n())
# Call summarise from dplyr library
dplyr::summarise(count = n())
I think this will help, let me know if you have any issue. Cheers.