THANK YOU, NOW PROBLEM WAS SOLVED, I WILL CHECKED ANOTHER R LIBRARY, HOPEFULLY IT WORKS
I have asked this question in R community too.
It really complicated since I must try and error every suggestion from google and stackoverflow.
It worked with me =>
1. Install R from CRAN Backport Debian Buster Repository
Code: Select all
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key '95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7'
deb http://cloud.r-project.org/bin/linux/debian buster-cran40/ (write this in /etc/apt/sources.list)
sudo apt-get update
sudo apt-get install -t buster-cran40 r-base r-base-dev
If the error still shown, then do this way
2. install Rcpp package from CRAN. (I'm using RStudio to install it)
to make sure it works, write Rcpp::evalCpp("2+2"). If the answer was 4, it is good.
3. Install dependencies of tidyverse
3. Install PAK package manager from CRAN
4. Install modeltime and tidyverse package with PAK
Code: Select all
library("pak")
pak::pkg_install("modeltime", lib = "/home/ichsan/R/x86_64-pc-linux-gnu-library/4.1/")
pak::pkg_install("tidyverse", lib = "/home/ichsan/R/x86_64-pc-linux-gnu-library/4.1/")