ropensci / neotoma

Programmatic R interface to the Neotoma Paleoecological Database.
https://docs.ropensci.org/neotoma
Other
30 stars 16 forks source link

Bug fix in compile_taxa.R for user provided table functionality #157

Closed andydawson closed 9 years ago

andydawson commented 9 years ago

Fixed compile_taxa.R so it can now take a user provided table - there was a bug when setting the column number of the conversion list use.list. Also, the warning was always printed, so I added an if statement so it doesn't print when missed is empty.

andydawson commented 9 years ago

I also just fixed another bug in this function - in the case where object is a matrix of data frame, we were trying to access the counts object by doing object$counts. I modified it so it instead just uses object.

SimonGoring commented 9 years ago

Thanks!

On Mon, Oct 20, 2014 at 4:17 PM, Andria Dawson notifications@github.com wrote:

I also just fixed another bug in this function - in the case where object is a matrix of data frame, we were trying to access the counts object by doing object$counts. I modified it so it instead just uses object.

— Reply to this email directly or view it on GitHub https://github.com/ropensci/neotoma/pull/157#issuecomment-59841302.