Closed stepminer closed 4 years ago
You may need to upgrade R >= 4.0.0. It's showing rlang >= 0.4.7
and vctrs >= 0.3.0
are required. Your R is likely too old for these upgraded packages, which is preventing newer versions of rlang
and vctrs
from downloading.
Thanks, I Downloaded R version 4.0.2 and reinstalled the package modeltime. Still having issues:
library(tidymodels) Error in library(tidymodels) : there is no package called ‘tidymodels’ library(modeltime) library(tidyverse) Error in library(tidyverse) : there is no package called ‘tidyverse’ library(lubridate)
Yes, you need to install these libraries - try devtools::install_github("business-science/modeltime", dependencies = TRUE)
This will install the latest development version of modeltime
, which has a few improvements and will install all of the dependencies associated with it.
Looks like those libraries are not installed but I thought the install of modeltime would do that,
Sent from my iPhone
On Sep 4, 2020, at 7:22 AM, stepminer notifications@github.com wrote:
Thanks, I Downloaded R version 4.0.2 and reinstalled the package modeltime. Still having issues:
library(tidymodels) Error in library(tidymodels) : there is no package called ‘tidymodels’ library(modeltime) library(tidyverse) Error in library(tidyverse) : there is no package called ‘tidyverse’ library(lubridate)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
No, the tidymodels and tidyverse are suggested, not required. To get them you’ll need to install them specifically or to use dependencies = TRUE.
What is installed is several packages that tidymodels and tidyverse contain like dplyr and parsnip. But the meta packages are not installed.
Gotcha
Sent from my iPhone
On Sep 4, 2020, at 8:13 AM, Matt Dancho notifications@github.com wrote:
No, the tidymodels and tidyverse are suggested, not required. To get them you’ll need to install them specifically or to use dependencies = TRUE.
What is installed is several packages that tidymodels and tidyverse contain like dplyr and parsnip. But the meta packages are not installed.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
The script does not work. I will try to install the packages manually. devtools::install_github("business-science/modeltime", dependencies = TRUE) Error in loadNamespace(name) : there is no package called ‘devtools’
Do you have devtools installed?
Sent from my iPhone
On Sep 4, 2020, at 9:07 AM, stepminer notifications@github.com wrote:
The script does not work. I will try to install the packages manually. devtools::install_github("business-science/modeltime", dependencies = TRUE) Error in loadNamespace(name) : there is no package called ‘devtools’
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
maybe try something like
if(!require(pacman)) {install.packages("pacman")}
pacman::p_load(
"tidyverse","tidyquant","lubridate","modeltime"
)
Thanks I was able to install the packages manually and test the ModelTime Tutorial. It performed successfully on the m750 data, except for the EARTH model although I also manually installed the package.
models_tbl <- modeltime_table(
- model_fit_arima_no_boost,
- model_fit_arima_boosted,
- model_fit_ets,
- model_fit_prophet,
- model_fit_lm,
- wflw_fit_mars
- ) Error in eval_tidy(xs[[j]], mask) : object 'wflw_fit_mars' not found
Otherwise its Great.
It is telling you the object does not exist in the environment
Closing - This appears to be due to the user needing to install packages, which is a local issue to the user and not a bug with the modeltime software.
Attaching package: ‘lubridate’
The following objects are masked from ‘package:base’: