Fix error in healthysig and fieldworkanalysis_samara vignettes #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Chloe,
This is an attempt to resolve the errors occurring during the knitting of the healthysig.Rmd and fieldworldanalysis_samara.Rmd vignettes by correcting the code causing the issue.
In healthysig.Rmd vignette, I noticed that the error was coming from line 46 to 54, when I checked Study 562/ experiment 10 had no signatures. This is why I think this error occurred. As a result, I commented out lines 46 to 54 as well as lines 130 to 180 where the bugs0 and healthysig0 objects were used.
In fieldworldanalysis_samara.Rmd vignette, the error occurred at lines 71 - 76, where the 'getMostFrequentTaxa' function wasn't correctly used, decided to update it by inserting 'directions' instead.
Another error at line 223 was corrected by changing 'maxit = 24' to 'maxit = 70'.
The vignettes were successfully built after these changes were made. I'm open to your feedback and corrections.