[R] update.packages(checkBuilt = TRUE) fails in updating rpanel_1.1-1 due to missing package BWidget

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Mar 26 14:53:29 CET 2013


On 26/03/2013 13:02, Kevin E. Thorpe wrote:
> I encountered the same problem.  I emailed the maintainer last week but
> have not yet received a response.
>
> I don't see a BWidget package on CRAN either.

It is not an R package: it is a Tcl/Tk extension.  The rpanel maintainer 
has been asked to add it to SystemRequirements (along with ca 30 other 
packages).

If it is not available for your OS, see the instructions here for OS X:
http://cran.r-project.org/doc/manuals/r-devel/R-admin.html#OS-X-packages
But it probably is.

>
> On 03/26/2013 04:31 AM, Juergen Rose wrote:
>> update.packages(checkBuilt = TRUE) fails with:
>>
>>> update.packages(checkBuilt = TRUE)
>> rpanel :
>>   Version 1.0-6 installed in /usr/lib64/R/library built under R 2.15.0
>>   Version 1.1-1 available at http://mirrors.softliste.de/cran
>> Update (y/N/c)?  y
>> trying URL
>> 'http://mirrors.softliste.de/cran/src/contrib/rpanel_1.1-1.tar.gz'
>> Content type 'application/x-gzip' length 702508 bytes (686 Kb)
>> opened URL
>> ==================================================
>> downloaded 686 Kb
>>
>> * installing *source* package ‘rpanel’ ...
>> ** package ‘rpanel’ successfully unpacked and MD5 sums checked
>> ** R
>> ** data
>> **  moving datasets to lazyload DB
>> ** demo
>> ** inst
>> ** preparing package for lazy loading
>> Error in structure(.External("dotTcl", ..., PACKAGE = "tcltk"), class =
>> "tclObj") :
>>    [tcl] can't find package BWidget.
>>
>> Error : unable to load R code in package ‘rpanel’
>> ERROR: lazy loading failed for package ‘rpanel’
>> * removing ‘/usr/lib64/R/library/rpanel’
>> * restoring previous ‘/usr/lib64/R/library/rpanel’
>>
>> The downloaded source packages are in
>>          ‘/tmp/RtmpCltR3Z/downloaded_packages’
>> Updating HTML index of packages in '.Library'
>> Making packages.html  ... done
>> Warning message:
>> In install.packages(update[instlib == l, "Package"], l, contriburl =
>> contriburl,  :
>>
>>
>> Installed is tcl-8.6.0-r1 and tk-8.6.0 in a GENTOO environment.
>>
>
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list