lgatto / Pbase

Manipluating and exploring protein and proteomics data
8 stars 3 forks source link

Packages for BioC 3.2 (devel) build/check errors #23

Closed lgatto closed 9 years ago

lgatto commented 9 years ago

I can reproduce the error:

> ## Cleaving
> pp <- cleave(p[1:100])
Error in checkAtAssignment("Proteins", "pranges", "list") : 
  assignment of an object of class “list” is not valid for @‘pranges’ in an object of class “Proteins”; is(value, "CompressedIRangesList") is not TRUE
Calls: cleave -> cleave -> .local -> checkAtAssignment
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ...
  Running ‘testthat.R’
 ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
         signalCondition(e)
     }, "assignment of an object of class \"list\" is not valid for @'pranges' in an object of class \"Proteins\"; is(value, \"CompressedIRangesList\") is not TRUE", 
         quote(checkAtAssignment(structure("Proteins", package = "Pbase"), "pranges", 
             "list")))

  testthat results ================================================================
  OK: 48 SKIPPED: 0 FAILED: 3
  1. Error: cleave 
  2. Error: isCleaved 
  3. Error: .calculateHeavyLabels 

  Error: testthat unit tests failed
  Execution halted

@sgibb It seems related to cleaving, which is more your expertise. Any hints?

lgatto commented 9 years ago

Addressed in commit #525673c682ea097f60c1bc05fa44317576cc84a0