SciencesPo icon indicating copy to clipboard operation
SciencesPo copied to clipboard

installation with `devtools::install_github` fails

Open tolot27 opened this issue 6 years ago • 2 comments

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.

tolot27 avatar Sep 25 '18 13:09 tolot27

Same problem here. I will try the solution and the workaround. Thanks @tolot27

cndesantana avatar Feb 18 '19 00:02 cndesantana

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

cndesantana avatar Feb 18 '19 00:02 cndesantana