gadget-framework / rgadget

Rgadget is a set of useful utilities for gadget
6 stars 12 forks source link

error with bubbles plot #104

Open mmrinconh opened 4 years ago

mmrinconh commented 4 years ago

Hi, when I run the following code with Rgadget version 0.5

library(repmis)
library(Rgadget)
source_data("https://github.com/mmrinconh/gadgetanchovy/blob/master/Assessment2019_27may_ecocadiz2018_estesi_junio30/WGTS.Rdata?raw=True")
fit<-out
bubbles <- plot(fit,data = 'catchdist.fleets',type='bubble')

I got the following error

Error in rename(., name = Component) : unused argument (name = Component)

Maybe something with the dplyr library. Thanks in advanced for any help

bthe commented 4 years ago

By the error messages it seems you have a old version of Rgadget, you reinstall Rgadget and try again?

mmrinconh commented 4 years ago

The error came when I updated Rgadget, it worked with an old version

bthe commented 4 years ago

The code you have works on my computer, so I'm not sure what is cause the problem.