Problems with installing tsDyn package

260 views
Skip to first unread message

Aboubakr Med

unread,
Apr 9, 2018, 1:31:47 AM4/9/18
to ts...@googlegroups.com
Hi
 
I'm using Rstudio version 1.1.442 with R 3.3.3 on OSX Yosemite 10.10.5, I'm trying to install tsDyn package but no matter what I did the installation fails.

These are the outcomes I got every time: 

> install.packages("tsDyn")
also installing the dependency ‘tseries’

  There are binary versions available but the source versions are later:
         binary  source needs_compilation
tseries 0.10-42 0.10-43              TRUE
tsDyn    0.9-44  0.9-46              TRUE
Do you want to install from sources the packages which need compilation?
y/n: y
installing the source packages ‘tseries’, ‘tsDyn’
trying URL 'https://cran.rstudio.com/src/contrib/tseries_0.10-43.tar.gz'
Content type 'application/x-gzip' length 164508 bytes (160 KB)
==================================================
downloaded 160 KB
trying URL 'https://cran.rstudio.com/src/contrib/tsDyn_0.9-46.tar.gz'
Content type 'application/x-gzip' length 1513330 bytes (1.4 MB)
==================================================
downloaded 1.4 MB
* installing *source* package ‘tseries’ ...
** package ‘tseries’ successfully unpacked and MD5 sums checked
** libs
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include    -fPIC  -Wall -mtune=core2 -g -O2  -c arma.c -o arma.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include    -fPIC  -Wall -mtune=core2 -g -O2  -c bdstest.c -o bdstest.o
clang -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include    -fPIC  -Wall -mtune=core2 -g -O2  -c boot.c -o boot.o
gfortran-4.8   -fPIC  -g -O2  -c dsumsl.f -o dsumsl.o
make: gfortran-4.8: No such file or directory
make: *** [dsumsl.o] Error 1
ERROR: compilation failed for package ‘tseries’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/tseries’
Warning in install.packages :
  installation of package ‘tseries’ had non-zero exit status
ERROR: dependency ‘tseries’ is not available for package ‘tsDyn’
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/tsDyn’
Warning in install.packages :
  installation of package ‘tsDyn’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/08/9wk5n7td28v15zln7w98qghr0000gn/T/RtmpULqF3N/downloaded_packages’

Could you please help me to solve this problem?

Kind regards 

Matthieu S

unread,
Apr 9, 2018, 1:35:08 AM4/9/18
to ts...@googlegroups.com, boube...@gmail.com
Hi

The problem seems to come from package tseries, not tsDyn? The error arises as you are trying to compile the tseries c/fortran code... difficult to understand what the issue is. I see:
make: gfortran-4.8: No such file or directory

Is it possible you don;t have fortran, or that specific version 4.8, on our computer?

Matthieu



--
You received this message because you are subscribed to the Google Groups "tsdyn" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tsdyn+unsubscribe@googlegroups.com.
To post to this group, send email to ts...@googlegroups.com.
Visit this group at https://groups.google.com/group/tsdyn.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages