Hello,
What I am doing:
install.packages("tidyverse") #This works
install.packages("tidyquant") #This works
install.packages("scales") #This works
install.packages("curl") #This works
install.packages("PerformanceAnalytics") #This works
install.packages("xts") #This works
install.packages("zoo") #This works
install.packages("quantmod") #This works
install.packages("TTR") #This works
install.packages("lubridate") #This works
library(tidyverse) #This works
library(tidyquant) # ERROR
library(scales) #This works
The error message:
library(tidyquant)
Loading required package: quantmod
Loading required package: TTR
Error: package or namespace load failed for ‘TTR’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/Users/maritza/Library/Caches/org.R-project.R/R/renv/cache/v5/R-4.3/x86_64-apple-darwin20/curl/5.2.1/411ca2c03b1ce5f548345d2fc2685f7a/curl/libs/curl.so':
dlopen(/Users/maritza/Library/Caches/org.R-project.R/R/renv/cache/v5/R-4.3/x86_64-apple-darwin20/curl/5.2.1/411ca2c03b1ce5f548345d2fc2685f7a/curl/libs/curl.so, 6): Symbol not found: _curl_easy_option_by_id
Referenced from: /Users/maritza/Library/Caches/org.R-project.R/R/renv/cache/v5/R-4.3/x86_64-apple-darwin20/curl/5.2.1/411ca2c03b1ce5f548345d2fc2685f7a/curl/libs/curl.so
Expected in: /usr/lib/libcurl.4.dylib
in /Users/maritza/Library/Caches/org.R-project.R/R/renv/cache/v5/R-4.3/x86_64-apple-darwin20/curl/5.2.1/411ca2c03b1ce5f548345d2fc2685f7a/curl/libs/curl.so
Error: package ‘TTR’ could not be loaded