Closed squishan closed 7 years ago
It seems that Windows can't find a directory so you could try a manual install:
https://github.com/fcbarbi/ardl
the file ardl-master.zip
and save in a known directory like D:\temp
.ardl-master
to ardl
so now you have all the package files in the directory D:\temp\ardl
.install.packages("D:/temp/ardl",repos=NULL, type="source")
Alternatively, you can do
install.packages("D:\\temp\\ardl",repos=NULL, type="source")
I have the same problem. When I try to install it manually, it gives me the following error:
Installing package into ‘C:/Users/Rodrigo González/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified)
If you could help me, I´d be grateful.
Hello Rodrigo, Thank you for your feedback. It looks like it's an access rights problem as it says that it can't write the file 'C:/Users/Rodrigo Gonzalez/Documents/R/win-library/3.4/ardl/DESCRIPTION'. Do you have write access to the directory "C:/Users/Rodrigo González/Documents/R/win-library/3.4" ? You can try to create a simple text file in this directory to check that your user has the rights to do so. Please do something like: 1.cd C:/Users/Rodrigo González/Documents/R/win-library/3.4, 2.mkdir ardl, 3.cd ardl, 4.dir > test.txt. I can only test on Windows on Monday. Fernando
I did what you asked and it created the text file correctly so I don´t really know what is happening.
It would be great if you could test that. I will be waiting for your answer.
Thank you.
when running
devtools::install_github("fcbarbi/ardl")
I encountered the following error message