vegalite icon indicating copy to clipboard operation
vegalite copied to clipboard

Namespace "%>%"

Open maelle opened this issue 9 years ago • 4 comments

I guess it's more a remark than an issue, but if you use both dplyr and vegalite in a package, then there's a warning of R check because of "%>%" being exported from both packages. I used to do import vegalite, now I'm importing only all vegalite and each dplyr functions I need, except "%>%" that I only import from one package.

maelle avatar Mar 10 '16 12:03 maelle

see if what i just pushed helps (changed the way i do the imp/exp)

hrbrmstr avatar Mar 10 '16 13:03 hrbrmstr

I've just tried to add both importFrom but it broke the build so I'd guess it's still better to import the pipe operator only once.

Thanks for being so reactive!

maelle avatar Mar 10 '16 13:03 maelle

Does this happen with leaflet also? See lines. Or what about ggvis (lines)?

timelyportfolio avatar Mar 10 '16 13:03 timelyportfolio

@hrbrmstr I'm happy to experiment with my pkg https://github.com/masalmon/watchme NAMESPACE (using both ggplot2 and vegalite), it's ok for me to break it a bit.

maelle avatar Mar 10 '16 14:03 maelle