[R-SIG-Mac] Dependencies & Packages Fail To Install (quantstrat)

Jason Eyerly teamtraders3564 at gmail.com
Mon Sep 8 20:54:33 CEST 2014


Hello Again Folks,
   Let me say in advance I apologize for the length of the code I’ve posted, but I do not know what is essential and what is not. I’ve been advised I should reiterate my previous question. I’m on a Macbook Air running 10.9.4 and R version 3.1.1 Mavericks. I’m trying to follow a financial analysis tutorial, which can be found here: 

https://www.bigmiketrading.com/matlab-r-project-python/32719-webinar-introduction-r-trading-w-ilya-kipnis-3.html

It requires that I install packages, and tells me to run the following code in R:

install.packages("Defaults")
install.packages("devtools")
install.packages("zoo")
install.packages("quantstrat", repos="http://R-Forge.R-project.org", type="source")
install.packages("TTR", repos="http://R-Forge.R-project.org", type="source")
require(quantstrat)
require(devtools)
install_github(repo"IKTrading", username="IlyaKipnis")
install_github(repo"DSTrading", username="IlyaKipnis")
require(DSTrading)
require(IKTrading)

I’ve also tried downloading these packages to my desktop and using terminal, but I still received some errors about dependencies and such not being available. I’m not sure if there’s a technical issue here, or a me issue here. The first two packages install with no issues, but quantstrat and TTR have some difficulties. When the code gets to this section, I then get the following. Further, I’ve been instructed by others that this has worked for them just fine. Thank you in advance for any help.:

> install.packages("quantstrat", repos="http://R-Forge.R-project.org")
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  unable to access index for repository http://R-Forge.R-project.org/bin/macosx/mavericks/contrib/3.1

   package ‘quantstrat’ is available as a source package but not as a binary

Warning in install.packages :
  package ‘quantstrat’ is not available (for R version 3.1.1)
> install.packages("TTR", repos="http://R-Forge.R-project.org")
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  cannot open: HTTP status was '404 Not Found'
Warning in install.packages :
  unable to access index for repository http://R-Forge.R-project.org/bin/macosx/mavericks/contrib/3.1

   package ‘TTR’ is available as a source package but not as a binary

Warning in install.packages :
  package ‘TTR’ is not available (for R version 3.1.1)

> require(quantstrat)
Loading required package: quantstrat
Warning message:
In library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE,  :
  there is no package called ‘quantstrat’
> require(devtools)
Loading required package: devtools

Attaching package: ‘devtools’

The following objects are masked from ‘package:utils’:

    ?, help

The following object is masked from ‘package:base’:

    system.file

> install.packages("quantmod", repos="http://R-Forge.R-project.org", type="source")
also installing the dependencies ‘xts’, ‘TTR’

trying URL 'http://R-Forge.R-project.org/src/contrib/xts_0.9-7.tar.gz'
Content type 'application/x-gzip' length 524182 bytes (511 Kb)
opened URL
==================================================
downloaded 511 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/TTR_0.22-0.1.tar.gz'
Content type 'application/x-gzip' length 276377 bytes (269 Kb)
opened URL
==================================================
downloaded 269 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/quantmod_0.4-1.tar.gz'
Content type 'application/x-gzip' length 118332 bytes (115 Kb)
opened URL
==================================================
downloaded 115 Kb

* installing *source* package ‘xts’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c add_class.c -o add_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c any.c -o any.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c attr.c -o attr.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c binsearch.c -o binsearch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c coredata.c -o coredata.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c diff.c -o diff.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c dimnames.c -o dimnames.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c endpoints.c -o endpoints.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c extract_col.c -o extract_col.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c init.c -o init.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isOrdered.c -o isOrdered.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isXts.c -o isXts.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c leadingNA.c -o leadingNA.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c merge.c -o merge.o
gfortran-4.8   -fPIC  -g -O2  -c period.max.f -o period.max.o
make: gfortran-4.8: No such file or directory
make: *** [period.max.o] Error 1
ERROR: compilation failed for package ‘xts’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/xts’
Warning in install.packages :
  installation of package ‘xts’ had non-zero exit status
ERROR: dependency ‘xts’ is not available for package ‘TTR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/TTR’
Warning in install.packages :
  installation of package ‘TTR’ had non-zero exit status
ERROR: dependencies ‘xts’, ‘TTR’ are not available for package ‘quantmod’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/quantmod’
Warning in install.packages :
  installation of package ‘quantmod’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/q3/0qq1vm5538l657ffhr1hxj6m0000gn/T/RtmpuHlaGm/downloaded_packages’
> install.packages("TTR", repos="http://R-Forge.R-project.org", type="source")
also installing the dependency ‘xts’

trying URL 'http://R-Forge.R-project.org/src/contrib/xts_0.9-7.tar.gz'
Content type 'application/x-gzip' length 524182 bytes (511 Kb)
opened URL
==================================================
downloaded 511 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/TTR_0.22-0.1.tar.gz'
Content type 'application/x-gzip' length 276377 bytes (269 Kb)
opened URL
==================================================
downloaded 269 Kb

* installing *source* package ‘xts’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c add_class.c -o add_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c any.c -o any.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c attr.c -o attr.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c binsearch.c -o binsearch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c coredata.c -o coredata.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c diff.c -o diff.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c dimnames.c -o dimnames.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c endpoints.c -o endpoints.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c extract_col.c -o extract_col.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c init.c -o init.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isOrdered.c -o isOrdered.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isXts.c -o isXts.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c leadingNA.c -o leadingNA.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c merge.c -o merge.o
gfortran-4.8   -fPIC  -g -O2  -c period.max.f -o period.max.o
make: gfortran-4.8: No such file or directory
make: *** [period.max.o] Error 1
ERROR: compilation failed for package ‘xts’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/xts’
Warning in install.packages :
  installation of package ‘xts’ had non-zero exit status
ERROR: dependency ‘xts’ is not available for package ‘TTR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/TTR’
Warning in install.packages :
  installation of package ‘TTR’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/q3/0qq1vm5538l657ffhr1hxj6m0000gn/T/RtmpuHlaGm/downloaded_packages’
> install.packages("quantstrat", repos="http://R-Forge.R-project.org", type="source")
also installing the dependencies ‘PerformanceAnalytics’, ‘quantmod’, ‘iterators’, ‘xts’, ‘TTR’, ‘blotter’, ‘FinancialInstrument’, ‘foreach’

trying URL 'http://R-Forge.R-project.org/src/contrib/PerformanceAnalytics_1.3.3526.tar.gz'
Content type 'application/x-gzip' length 2155593 bytes (2.1 Mb)
opened URL
==================================================
downloaded 2.1 Mb

trying URL 'http://R-Forge.R-project.org/src/contrib/quantmod_0.4-1.tar.gz'
Content type 'application/x-gzip' length 118332 bytes (115 Kb)
opened URL
==================================================
downloaded 115 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/iterators_1.0.7.tar.gz'
Content type 'application/x-gzip' length 287920 bytes (281 Kb)
opened URL
==================================================
downloaded 281 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/xts_0.9-7.tar.gz'
Content type 'application/x-gzip' length 524182 bytes (511 Kb)
opened URL
==================================================
downloaded 511 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/TTR_0.22-0.1.tar.gz'
Content type 'application/x-gzip' length 276377 bytes (269 Kb)
opened URL
==================================================
downloaded 269 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/blotter_0.8.19.tar.gz'
Content type 'application/x-gzip' length 68760 bytes (67 Kb)
opened URL
==================================================
downloaded 67 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/FinancialInstrument_1.1.9.tar.gz'
Content type 'application/x-gzip' length 179481 bytes (175 Kb)
opened URL
==================================================
downloaded 175 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/foreach_1.4.2.tar.gz'
Content type 'application/x-gzip' length 357522 bytes (349 Kb)
opened URL
==================================================
downloaded 349 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/quantstrat_0.8.2.tar.gz'
Content type 'application/x-gzip' length 791884 bytes (773 Kb)
opened URL
==================================================
downloaded 773 Kb

* installing *source* package ‘iterators’ ...
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (iterators)
* installing *source* package ‘xts’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c add_class.c -o add_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c any.c -o any.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c attr.c -o attr.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c binsearch.c -o binsearch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c coredata.c -o coredata.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c diff.c -o diff.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c dimnames.c -o dimnames.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c endpoints.c -o endpoints.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c extract_col.c -o extract_col.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c init.c -o init.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isOrdered.c -o isOrdered.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isXts.c -o isXts.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c leadingNA.c -o leadingNA.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c merge.c -o merge.o
gfortran-4.8   -fPIC  -g -O2  -c period.max.f -o period.max.o
make: gfortran-4.8: No such file or directory
make: *** [period.max.o] Error 1
ERROR: compilation failed for package ‘xts’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/xts’
Warning in install.packages :
  installation of package ‘xts’ had non-zero exit status
ERROR: dependency ‘xts’ is not available for package ‘PerformanceAnalytics’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/PerformanceAnalytics’
Warning in install.packages :
  installation of package ‘PerformanceAnalytics’ had non-zero exit status
ERROR: dependency ‘xts’ is not available for package ‘TTR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/TTR’
Warning in install.packages :
  installation of package ‘TTR’ had non-zero exit status
* installing *source* package ‘foreach’ ...
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded
* DONE (foreach)
ERROR: dependencies ‘xts’, ‘TTR’ are not available for package ‘quantmod’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/quantmod’
Warning in install.packages :
  installation of package ‘quantmod’ had non-zero exit status
ERROR: dependencies ‘quantmod’, ‘xts’ are not available for package ‘FinancialInstrument’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/FinancialInstrument’
Warning in install.packages :
  installation of package ‘FinancialInstrument’ had non-zero exit status
ERROR: dependencies ‘xts’, ‘FinancialInstrument’, ‘PerformanceAnalytics’, ‘quantmod’ are not available for package ‘blotter’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/blotter’
Warning in install.packages :
  installation of package ‘blotter’ had non-zero exit status
ERROR: dependencies ‘xts’, ‘TTR’, ‘blotter’, ‘FinancialInstrument’ are not available for package ‘quantstrat’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/quantstrat’
Warning in install.packages :
  installation of package ‘quantstrat’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/q3/0qq1vm5538l657ffhr1hxj6m0000gn/T/RtmpuHlaGm/downloaded_packages’
> install.packages("TTR", repos="http://R-Forge.R-project.org", type="source")
also installing the dependency ‘xts’

trying URL 'http://R-Forge.R-project.org/src/contrib/xts_0.9-7.tar.gz'
Content type 'application/x-gzip' length 524182 bytes (511 Kb)
opened URL
==================================================
downloaded 511 Kb

trying URL 'http://R-Forge.R-project.org/src/contrib/TTR_0.22-0.1.tar.gz'
Content type 'application/x-gzip' length 276377 bytes (269 Kb)
opened URL
==================================================
downloaded 269 Kb

* installing *source* package ‘xts’ ...
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c add_class.c -o add_class.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c any.c -o any.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c attr.c -o attr.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c binsearch.c -o binsearch.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c coredata.c -o coredata.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c diff.c -o diff.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c dimnames.c -o dimnames.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c endpoints.c -o endpoints.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c extract_col.c -o extract_col.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c init.c -o init.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isOrdered.c -o isOrdered.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c isXts.c -o isXts.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c leadingNA.c -o leadingNA.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/zoo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c merge.c -o merge.o
gfortran-4.8   -fPIC  -g -O2  -c period.max.f -o period.max.o
make: gfortran-4.8: No such file or directory
make: *** [period.max.o] Error 1
ERROR: compilation failed for package ‘xts’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/xts’
Warning in install.packages :
  installation of package ‘xts’ had non-zero exit status
ERROR: dependency ‘xts’ is not available for package ‘TTR’
* removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/TTR’
Warning in install.packages :
  installation of package ‘TTR’ had non-zero exit status

The downloaded source packages are in
	‘/private/var/folders/q3/0qq1vm5538l657ffhr1hxj6m0000gn/T/RtmpuHlaGm/downloaded_packages’






Best Regards,
    Jason E. 
	[[alternative HTML version deleted]]



More information about the R-SIG-Mac mailing list