Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installation with devtools::install_github fails #13

Open
tolot27 opened this issue Sep 25, 2018 · 2 comments
Open

installation with devtools::install_github fails #13

tolot27 opened this issue Sep 25, 2018 · 2 comments

Comments

@tolot27
Copy link

tolot27 commented Sep 25, 2018

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.

@cndesantana
Copy link

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

@cndesantana
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants