[rkward-tracker] [ rkward-Bugs-3050970 ] install.packages swallows error messages

SourceForge.net noreply at sourceforge.net
Sun Aug 22 19:14:43 UTC 2010


Bugs item #3050970, was opened at 2010-08-22 15:14
Message generated for change (Tracker Item Submitted) made by chengas123
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3050970&group_id=50231

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Benjamin McCann (chengas123)
Assigned to: Nobody/Anonymous (nobody)
Summary: install.packages swallows error messages

Initial Comment:
When I get an error installing a package in RKWard I cannot determine why:

install.packages("quantstrat", repos="http://R-Forge.R-project.org", type="source")
Warning in install.packages("quantstrat", repos = "http://R-Forge.R-project.org",  :
  argument 'lib' is missing: using '/home/bmccann/R/i486-pc-linux-gnu-library/2.11'
Warning: dependency ‘blotter (>= 0.7)’ is not available
trying URL 'http://R-Forge.R-project.org/src/contrib/quantstrat_0.3.tar.gz'
Content type 'application/x-gzip' length 41494 bytes (40 Kb)
opened URL
==================================================
downloaded 40 Kb


The downloaded packages are in
	‘/tmp/RtmpTKNnvi/downloaded_packages’
Warning message:
In install.packages("quantstrat", repos = "http://R-Forge.R-project.org",  :
  installation of package 'quantstrat' had non-zero exit status



However, if I do the same within the R shell directly I get a much more informative error:

install.packages("quantstrat", repos="http://R-Forge.R-project.org", type="source")
Warning in install.packages("quantstrat", repos = "http://R-Forge.R-project.org",  :
  argument 'lib' is missing: using '/home/bmccann/R/i486-pc-linux-gnu-library/2.11'
Warning: dependency \u2018blotter (>= 0.7)\u2019 is not available
trying URL 'http://R-Forge.R-project.org/src/contrib/quantstrat_0.3.tar.gz'
Content type 'application/x-gzip' length 41494 bytes (40 Kb)
opened URL
==================================================
downloaded 40 Kb

* installing *source* package \u2018quantstrat\u2019 ...
** R
** data
** demo
** inst
** preparing package for lazy loading
Loading required package: zoo
Error : package 'blotter' 0.6 was found, but >= 0.7 is required by 'quantstrat'
ERROR: lazy loading failed for package \u2018quantstrat\u2019
* removing \u2018/home/bmccann/R/i486-pc-linux-gnu-library/2.11/quantstrat\u2019
* restoring previous \u2018/home/bmccann/R/i486-pc-linux-gnu-library/2.11/quantstrat\u2019

The downloaded packages are in
	\u2018/tmp/RtmpHhKZqp/downloaded_packages\u2019
Warning message:
In install.packages("quantstrat", repos = "http://R-Forge.R-project.org",  :
  installation of package 'quantstrat' had non-zero exit status

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=459007&aid=3050970&group_id=50231




More information about the rkward-tracker mailing list