From pgilbert at bank-banque-canada.ca  Wed Sep  8 22:02:12 2010
From: pgilbert at bank-banque-canada.ca (Paul Gilbert)
Date: Wed, 8 Sep 2010 16:02:12 -0400
Subject: [Rd] winbuilder warnings and errors
In-Reply-To: <AANLkTinPKcL+3aJBnJ_RS-5naymeUUSV-HVV-c_OF3wV@mail.gmail.com>
References: <AANLkTinPKcL+3aJBnJ_RS-5naymeUUSV-HVV-c_OF3wV@mail.gmail.com>
Message-ID: <D611103AA7EE3B4DAE7F7D49C72B291A02D5A49A@EXMAIL2.bocad.bank-banque-canada.ca>

Possibly you are using x11() or postscript() to open a graphics device?
You need to use something generic like dev.new() or nothing (a device
will open automatically). I would check that first, though it does not
really explain the second problem.

Paul

>-----Original Message-----
>From: r-devel-bounces at r-project.org [mailto:r-devel-bounces at r-
>project.org] On Behalf Of Melissa Jane Hubisz
>Sent: September 8, 2010 10:11 AM
>To: r-devel at r-project.org
>Subject: [Rd] winbuilder warnings and errors
>
>Hello,
>I have been developing a package for phylogenetic analysis which I
>plan to submit to CRAN soon.  It passes R CMD check with no warnings
>on my linux and Mac OS X machines.  I don't have much experience with
>Windows and have been using the win-builder service to see how the
>package compiles on Windows.  (Thank you for this service, Uwe, it is
>a huge time saver for me!)
>
>I have tried win-builder's R-release 32-bit and R-release 64-bit
>versions, and both return with different warnings/errors which I don't
>understand.  However both do produce binaries which seem to work.  For
>the 64-bit, the check goes fine until it gets to the vignettes, and
>then I get the message:
>
>* checking package vignettes in 'inst/doc' ... WARNING
>*** Weave Errors ***
>File d:/RCompile/CRANguest/R64-
>release/rphast.Rcheck/inst/doc/vignette2.Rnw :
>unable to start device PostScript
>* checking PDF version of manual ... OK
>
>
>I'm not sure if I should be concerned about this or not.  I'm more
>troubled by the results of the 32-bit check, which produces an error.
>The log ends like this:
>
>* checking examples ... OK
>* checking tests ... ERROR
>Check process probably crashed or hung up for 20 minutes ... killed
>Most likely this happened in the example checks (?),
>if not, ignore the following last lines of example output:
><< here I snipped a bunch of example output that looks fine>>
>>
>> ### * <FOOTER>
>> ###
>> cat("Time elapsed: ", proc.time() - get("ptime", pos =
>'CheckExEnv'),"\n")
>Time elapsed:  13.23 0.2 13.46 NA NA
>> grDevices::dev.off()
>null device
>          1
>> ###
>> ### Local variables: ***
>> ### mode: outline-minor ***
>> ### outline-regexp: "\\(> \\)?### [*]+" ***
>> ### End: ***
>> quit('no')
>======== End of example output (where/before crash/hang up occured ?)
>========
>
>So here are my questions:
>Does anyone have an idea what could cause the error above, or how I
>can troubleshoot it?  I do have remote access to a windows machine and
>have installed the 32-bit binary, and all the testing code runs
>smoothly.  Do I need to resolve these issues in order to submit my
>package to CRAN?  I definitely want Windows binaries of my package to
>be available.
>
>Thanks for any advice,
>Melissa
>
>
>Melissa  Hubisz
>Siepel Lab
>Department of Biological Statistics and Computational Biology
>Cornell University
>
>______________________________________________
>R-devel at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-devel
====================================================================================

La version fran?aise suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential information, and the Bank of
Canada does not waive any related rights. Any distribution, use, or copying of this
email or the information it contains by other than the intended recipient is
unauthorized. If you received this email in error please delete it immediately from
your system and notify the sender promptly by email that you have done so. 

------------------------------------------------------------------------------------

Le pr?sent courriel peut contenir de l'information privil?gi?e ou confidentielle.
La Banque du Canada ne renonce pas aux droits qui s'y rapportent. Toute diffusion,
utilisation ou copie de ce courriel ou des renseignements qu'il contient par une
personne autre que le ou les destinataires d?sign?s est interdite. Si vous recevez
ce courriel par erreur, veuillez le supprimer imm?diatement et envoyer sans d?lai ?
l'exp?diteur un message ?lectronique pour l'aviser que vous avez ?limin? de votre
ordinateur toute copie du courriel re?u.


[Rd] winbuilder warnings and errors
Paul Gilbert