tokami / TropFishR

Tropical Fisheries Analysis with R
24 stars 19 forks source link

Error in lfqModify command, with the argument 'vectorise_catch' #18

Closed mohammad4458 closed 7 years ago

mohammad4458 commented 7 years ago

Hi Thanks for TropFishR package I have problem with lfqModify each time running the code lfq_sum <- lfqModify(synLFQ4, vectorise_catch = TRUE) this errors will display:

Error in lfqModify(synLFQ4, vectorise_catch = TRUE) : 
  unused argument (vectorise_catch = TRUE)

How I can fix this issue? Thanks in advance Mohammad

`

marchtaylor commented 7 years ago

Hi Mohammad, Is it possible you are using an old version of the package? lfqModify did not originally have the argument vectorise_catch - only in versions post March 1st.

try an update of the most recent version: devtools::install_github(“tokami/TropFishR”)

mohammad4458 commented 7 years ago

Thanks for reply Is there any comment for vectorizing catch matrix in new version?

marchtaylor commented 7 years ago

Yes, there is. Your​example works for me with the new version. Just reinstall and try again.

mohammad4458 commented 7 years ago

Thanks a lot