ibot-geoecology / myClim

R package for processing microclimatic data
GNU General Public License v2.0
6 stars 3 forks source link

User-defined Logger error #5

Open plantfamlab opened 10 months ago

plantfamlab commented 10 months ago

I'm trying to create a user-defined logger (Onset's HOBO MX2306 datalogger for soil moisture) but I get an error with the "user_data_formats$myHOBO@columns[[mc_const_SENSOR-real]]" code. It is tell me "object 'mc_const_SENSOR_real' not found.

Jules- commented 10 months ago

Hi, there is a typo - in your code:

# wrong
user_data_formats$myHOBO@columns[[mc_const_SENSOR-real]]

# right
user_data_formats$myHOBO@columns[[mc_const_SENSOR_real]]

The constant mc_const_SENSOR_real is only in the development version 1.0.10. The CRAN repository contains version 1.0.1, which does not include this constant.

plantfamlab commented 10 months ago

Thanks for the speedy response. I double checked my code and I had it correct in my script, I just typed it in wrong when submitting my initial comment.

manmatej commented 9 months ago

It appears that your problem is still persisting? To assist you better, please provide the output of SessionInfo() to share information about your system configuration and the version of myClim you are using. For more effective troubleshooting, consider uploading a small sample of your data along with your code, as this will enable us to attempt to reproduce your issue. Without these details, it's challenging for us to offer further assistance.