Problem: When the user reads an interaction matrix from a .csv file with read.csv() then the column names are run through make.names(). When that is then used in setInteraction() a warning is issued because the column names are not identical to the species names.
Solution: The test that leads to this warning should run the species names through make_names() before making the comparison.
Problem: When the user reads an interaction matrix from a .csv file with
read.csv()
then the column names are run throughmake.names()
. When that is then used insetInteraction()
a warning is issued because the column names are not identical to the species names.Solution: The test that leads to this warning should run the species names through
make_names()
before making the comparison.