Hello there, so I´m trying to use Syntetic Control for a project. But i have problems to download Synth Package, it tells me this:
install.packages("Synth")
Installing package into ‘C:/Users/Pablo Montero/OneDrive/Documentos/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘optimx’
R has problems with cloud synced folders (OneDrive in this case), I would recommend setting your package library in a non synced folder. You can change the default library folder by setting your R_LIBS_SITE environmental variable on a .Reviron or .Rprofile file. For example:
# In a .Renviron file you can set it by adding a line like this one with the desired location
R_LIBS_SITE="C:\\Program Files\\R\\R-4.1.1\\library"
For a more detailed explanation, you can read this blog post
This is a different question, we like to keep things tidy around here so please ask it on a new topic providing a relevant reproducible example (reprex) illustrating your issue. Have a look at this guide, to see how to create one: