Skip to content

cumPoolsSmooth issue #69

@suz-estella

Description

@suz-estella

I was able to reprex an issue I'm sometimes getting running cumPoolsSmooth. I've attached a cPoolsRaw table for a curve that I'm able to observe the error for repeatedly:

cPoolsRaw_issue.csv

> cPoolsRaw <- data.table::data.table::fread("cPoolsRaw_issue.csv")
> cumPoolsSmooth(cPoolsRaw)
1 of 1: 28_Betu_pap_G
Error in `[.data.table`(SD, , `:=`(override, ind > firstInflection & ind <  : 
  Supplied 235 items to be assigned to 233 items of column 'override'. If you wish to 'recycle' the RHS please use rep() to make this intent clear to readers of your code.

@camillegiuliano I thought since you have more experience with this function you might know how to go about fixing this one. Otherwise I'm open to giving it a try!

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions