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

Attempt to fix datatable issue in R #289

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

donaldcampbelljr
Copy link
Member

@donaldcampbelljr donaldcampbelljr commented Oct 4, 2024

When using datable.table 1.16.0, PEPATACr.R was giving me an error:

Error in forderv(x, by = by, sort = FALSE, retGrp = TRUE) : 
  Column 1 passed to [f]order is type 'list', not yet supported.
Calls: <Anonymous> ... lapply -> FUN -> unique -> unique.data.table -> forderv
Execution halted

I refactored the creation of the stats data table. The project-level pipeline seems to work but now it gives me a warning:

Creating summary plots...
Warning messages:
1: In as.data.table.list(yaml_file$PEPATAC$sample[[sample_name]]) :
  Item 1 has 3 rows but longest item has 4; recycled with remainder.
2: In as.data.table.list(yaml_file$PEPATAC$sample[[sample_name]]) :
  Item 1 has 3 rows but longest item has 4; recycled with remainder

For reference, I am using an installation based on documentation here:
https://pepatac.databio.org/en/dev/detailed-install/

R version 4.1.2 (2021-11-01) -- "Bird Hippie"

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

Successfully merging this pull request may close these issues.

1 participant