Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

food.web() function - Getting "Error: replacement has length zero" #56

Open
hollyannperryman opened this issue May 12, 2022 · 0 comments

Comments

@hollyannperryman
Copy link

Hei! I am continuing the testing out of ReactiveAtlantis functions with the inputs and outputs from the Gulf of Mexico Atlantis model, and I ran into an error with the food.web() function. I was trying to look at the food webs for the shrimp groups (BSH, PSH, and WSH) over time, and I start getting the stated error. At first I thought it had something to do with the column headers in the groups.csv file, so I changed the headers that are getting called in the food.web() function (from what I could see in the r code). It fixed the issue for some of the other fish groups, but I am still getting the error with the shrimp groups. I attached the files I am using in the function in case you wanted to test it yourself.
GulfGroupsForR.csv
GOM_OUTDietCheck.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant