Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data.table 1.12 incompatibility? #256

Open
johnstonmj opened this issue Feb 23, 2021 · 1 comment
Open

data.table 1.12 incompatibility? #256

johnstonmj opened this issue Feb 23, 2021 · 1 comment

Comments

@johnstonmj
Copy link

I recently re-installed sleuth in a conda environment, re-ran a previously functioning sleuth script, and encountered this error in sleuth_prep:

Error in `[.data.table`(counts_test, , .(total = sum(est_counts)), by = "sample") : 
  column or expression 1 of 'by' or 'keyby' is type closure. Do not quote column names. Usage: DT[,sum(colC),by=list(colA,month(colB))]

Which seems to stem from Line 372 of sleuth.R

I note that my latest conda environment runs r-data.table = 1.12

Is it possible that the latest data.table no longer accepts "sample" as it is quoted in sleuth.R?

@ZimmerA
Copy link

ZimmerA commented Aug 15, 2022

I am currently running into the same issue. Did you ever solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants