emh icon indicating copy to clipboard operation
emh copied to clipboard

Code does not seem to work

Open DineshWBS opened this issue 5 years ago • 2 comments

DineshWBS avatar May 17 '19 17:05 DineshWBS

Apologies, the issue is actually to do with the version of R

  • package ‘emh’ is not available (for R version 3.5.2)

DineshWBS avatar May 17 '19 17:05 DineshWBS

Please help and advise that I cannot install your package. Thanks.

library(devtools) suppressMessages(install_github(repo="stuartgordonreid/emh",force = TRUE)) √ checking for file 'C:\Users\Weihan Liu\AppData\Local\Temp\RtmpEzG8O9\remotes526c3af7493a\StuartGordonReid-emh-52a408c/DESCRIPTION' ...

  • preparing 'emh': √ checking DESCRIPTION meta-information ...
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building 'emh_0.1.0.tar.gz'

ERROR: failed to lock directory 'C:/Users/Weihan Liu/Documents/R/win-library/3.6' for modifying Try removing 'C:/Users/Weihan Liu/Documents/R/win-library/3.6/00LOCK-emh' ERROR: Failed to install 'emh' from GitHub: (由警告转换成)installation of package ‘C:/Users/WEIHAN~1/AppData/Local/Temp/RtmpEzG8O9/file526c6f344ee1/emh_0.1.0.tar.gz’ had non-zero exit status

Accordingly, I encountered the following error message:

global_indices <- emh::data_quandl_downloader(data_quandl_indices()) [1] "DOWNLOADING DATASETS ..." |========================================================================================================================| 100%Error in names(datasets) <- codes : 'names'属性的长度[51]必需和矢量的长度[0]一样 此外: There were 50 or more warnings (use warnings() to see the first 50)

liulu164 avatar Mar 01 '20 13:03 liulu164