business-science / timetk

Time series analysis in the `tidyverse`
https://business-science.github.io/timetk/
612 stars 100 forks source link

Unable to install timetk in rstudio on ubuntu 20.04 #91

Closed victormandela closed 2 years ago

victormandela commented 3 years ago

Hello, I am unable install both timetk and tidyquant packages on ubuntu OS. I have tried the usuall install.packages("timetk") and remotes::install.. as adviced on github but it doesn't install! It gives me the following error Installing package into ‘/home/victor/R/x86_64-pc-linux-gnu-library/4.1’ (as ‘lib’ is unspecified) also installing the dependencies ‘quadprog’, ‘fracdiff’, ‘lmtest’, ‘tseries’, ‘urca’, ‘RcppArmadillo’, ‘forecast’

trying URL 'https://cloud.r-project.org/src/contrib/quadprog_1.5-8.tar.gz' Content type 'application/x-gzip' length 36141 bytes (35 KB)

downloaded 35 KB

trying URL 'https://cloud.r-project.org/src/contrib/fracdiff_1.5-1.tar.gz' Content type 'application/x-gzip' length 63764 bytes (62 KB)

downloaded 62 KB

trying URL 'https://cloud.r-project.org/src/contrib/lmtest_0.9-38.tar.gz' Content type 'application/x-gzip' length 227052 bytes (221 KB)

downloaded 221 KB

trying URL 'https://cloud.r-project.org/src/contrib/tseries_0.10-48.tar.gz' Content type 'application/x-gzip' length 170342 bytes (166 KB)

downloaded 166 KB

trying URL 'https://cloud.r-project.org/src/contrib/urca_1.3-0.tar.gz' Content type 'application/x-gzip' length 682935 bytes (666 KB)

downloaded 666 KB

trying URL 'https://cloud.r-project.org/src/contrib/RcppArmadillo_0.10.6.0.0.tar.gz' Content type 'application/x-gzip' length 1673880 bytes (1.6 MB)

downloaded 1.6 MB

trying URL 'https://cloud.r-project.org/src/contrib/forecast_8.15.tar.gz' Content type 'application/x-gzip' length 584703 bytes (570 KB)

downloaded 570 KB

trying URL 'https://cloud.r-project.org/src/contrib/timetk_2.6.1.tar.gz' Content type 'application/x-gzip' length 3793775 bytes (3.6 MB)

downloaded 3.6 MB

The downloaded source packages are in ‘/tmp/RtmpEIOXH5/downloaded_packages’

mdancho84 commented 2 years ago

We test on ubuntu so this looks like an issue isolated to your setup. I see that several dependencies that timetk depends on are not being installed. You might try installing from CRAN install.packages("timetk") rather than remotes.

victormandela commented 2 years ago

I managed to

On Sat, Nov 13, 2021, 14:51 Matt Dancho @.***> wrote:

Closed #91 https://github.com/business-science/timetk/issues/91.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/business-science/timetk/issues/91#event-5613062165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVHVKQTS76IUCMIJ4GQARYTULZGMRANCNFSM5EVICRNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

victormandela commented 2 years ago

i managed to install on a standard installation. sorry for late response, Matt.

On Sat, Nov 13, 2021, 23:04 Mandela @.***> wrote:

I managed to

On Sat, Nov 13, 2021, 14:51 Matt Dancho @.***> wrote:

Closed #91 https://github.com/business-science/timetk/issues/91.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/business-science/timetk/issues/91#event-5613062165, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVHVKQTS76IUCMIJ4GQARYTULZGMRANCNFSM5EVICRNQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mdancho84 commented 2 years ago

Ok perfect. Thanks for the heads up.