I am trying to work with DatastreamDSWS2R to import data directly from Datastream to R.
Unfortunately, I have problems with the installation: here is my code:
install.packages("devtools")
require(devtools)
install_github("CharlesCara/DatastreamDSWS2R")
When install_github is running I get the following error:
Installing package into ‘F:/Maximilian/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
* installing *source* package 'DatastreamDSWS2R' ...
** R
** data
*** moving datasets to lazyload DB
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'dplyr'
ERROR: lazy loading failed for package 'DatastreamDSWS2R'
* removing 'F:/Maximilian/Documents/R/win-library/3.4/DatastreamDSWS2R'
Error: Failed to install 'DatastreamDSWS2R' from GitHub:
(converted from warning) running command '"D:/R/R-3.4.2/bin/x64/R" CMD INSTALL -l "F:\Maximilian\Documents\R\win-library\3.4" "C:/Users/MAXIMI~1/AppData/Local/Temp/RtmpIXHIwB/file38b477f52ad7/DatastreamDSWS2R_1.5.12.tar.gz"' had status 1
Does anyone have suggestions on solving this problem? Thanks in advance!