SciencesPo
SciencesPo copied to clipboard
installation with `devtools::install_github` fails
The installation with devtools::install_github
is not possible because there are object files (*.o
) included in the src folder. During installation these files get the extraction timestamp and make fails to identify them as old files. Hence, the corresponding source files are not compiled again and the linker fails.
Solution: remove all object files (*.o
) from the src
folder.
Workaround: clone the repository manually and use devtools::install("<path to cloned repository/SciencesPo")
for installation.
Same problem here. I will try the solution and the workaround. Thanks @tolot27
Great! I downloaded the ZIP file, unzipped it, removed the .o files from within src folder and installed the package using devtools::install_local(dir), where dir is the directory of the unzipped SciencesPo. Everything works fine now! :)
Thanks again, @tolot27