rethomics / damr

Read TriKinetics' DAM data in R
http://rethomics.github.io
6 stars 7 forks source link

Can't use NULL in colClasses when select or drop is used as well. #22

Closed DenaFrancis closed 4 years ago

DenaFrancis commented 5 years ago

Hi, This is my code and the error that I get:

Check data is correctly loaded

list.files(DATA_DIR, pattern= ".txt|csv")

set working directory

setwd(DATA_DIR)

Load metadata

metadata <- fread("metadata.csv")

remove # to check if metadata is loaded correctly

metadata

connect metadata to raw data

metadata <- link_dam_metadata(metadata, result_dir = DATA_DIR) metadata

loading data

dt <- load_dam(metadata)

Error in fread(path, col.names = col_names[which(DAM5COLS != "")], colClasses = col_class, : Can't use NULL in colClasses when select or drop is used as well.

I am not sure what it means and I am using the same template that I have been using in the past for the metadata.

Thanks! I love this package by the way!

qgeissmann commented 5 years ago

Hi Dena, Thanks for reporting your issue. Any chance you could upload your metadata and results so I can try to reproduce the issue on my system? :). Thanks for your feedback on the package too!

DenaFrancis commented 5 years ago

Hi Quinton, Seems that the issue was with my computer because everything ran smoothly on my laptop? I will try to upload the metadata nontheless. Thanks for your response! Dena

On 9 Apr 2019, at 3:44 am, Quentin Geissmann notifications@github.com wrote:

Hi Dena, Thanks for reporting your issue. Any chance you could upload your metadata and results so I can try to reproduce the issue on my system? :). Thanks for your feedback on the package too!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.