eemR icon indicating copy to clipboard operation
eemR copied to clipboard

eem_read not creating eemlist class objects

Open JMahaux opened this issue 9 months ago • 5 comments

Hi Philippe,

I'm having an issue with the eem_read function in that it's not creating objects of class eemlist. I have also tried using the "eem" function to construct the object but keep getting an error saying R can't find the function "eem" (along with some of the other eemR functions, like "summary.eemlist"). I'm importing data from an aqualog and am able to create a list object using eem_read, but not an eemlist, which seems to be giving me trouble when I try to do blank subtractions and raman normalisation since I believe the function is not recognizing my inputs as valid - using eem_remove_blank with the eem and blank lists returns "Error in if (is.na(blank)) { : the condition has length > 1"

The package is loaded correctly and the function shows up when I use "?eem" so I'm at a bit of a loss about what's going wrong. I'm relatively new to R so it's entirely possible I've missed a crucial step somewhere, but any help here would be appreciated!

Thanks!

JMahaux avatar Oct 02 '23 18:10 JMahaux