Skip to content
Prev 14000 / 21318 Next

[Bioc-devel] Errors in Building AssessORF

Hi Deepank,

Just to clarify, this is about a new submission and the build
you're referring to is:

 
http://bioconductor.org/spb_reports/AssessORF_buildreport_20180910173835.html

Note that I can reproduce this error on my laptop with:

   git clone https://github.com/DRK248/AssessORF
   git clone https://github.com/DRK248/AssessORFData
   R CMD INSTALL AssessORF AssessORFData
   R CMD build AssessORF
   R CMD check AssessORF_0.99.9.tar.gz

The last command (R CMD check) produces:

   ...
   * checking examples ... ERROR
   Running examples in ?AssessORF-Ex.R? failed
   The error most likely occurred in:

   > ### Name: ScoreAssesmentResults
   > ### Title: Score Gene Assessment Results
   > ### Aliases: ScoreAssesmentResults
   >
   > ### ** Examples
   >
   >
   > ScoreAssessmentResults(readRDS(system.file("extdata", 
"ATCC17978_PreSaved_ResultsObj_Prodigal.rds", package = "AssessORF")), "a")
   Warning in gzfile(file, "rb") :
     cannot open compressed file '', probable reason 'No such file or 
directory'
   Error in gzfile(file, "rb") : cannot open the connection
   Calls: ScoreAssessmentResults -> readRDS -> gzfile
   Execution halted
   ...

I cloned the 2 packages less than 30 min ago so I have the most current
versions. Also since this was the first time I cloned and installed
AssessORF and AssessORFData on my machine, I shouldn't have any stale
files or stale versions of the packages. So this error actually looks
like a true positive to me and not an error due to some caching or other
dysfunction of the SPB (Single Package Builder).

The problem is that the package contains an example (in the
ScoreAssesmentResults.Rd) man page that tries to read the
inst/extdata/ATCC17978_PreSaved_ResultsObj_Prodigal.rds
file. But the inst/extdata/ folder doesn't contain such file:

   hpages at spectre:~/AssessORF$ ls inst/extdata/
   Adenoviridae.sqlite
   MGAS5005_PreSaved_ResultsObj_Prodigal.rds
   MGAS5005_PreSaved_DataMapObj.rds
   MGAS5005_Prodigal.sco

You should be able to reproduce this error on your machine too by
using the standard 'R CMD build' + 'R CMD check' sequence.

Finally note that AssessORFData Suggests AssessORF even though it
looks like it should be the other way around (AssesORF uses
AssessORFData but AssessORFData has no mention of AssessORF and
doesn't seem to make any use of it).

Cheers,
H.
On 09/10/2018 02:57 PM, Deepank Korandla wrote: