SciencesPo icon indicating copy to clipboard operation
SciencesPo copied to clipboard

quick fix for collate installation error

Open munichrocker opened this issue 5 years ago • 0 comments

This is a quick fix for an error that occurs during installation with devtools::install_github("danielmarcelino/SciencesPo"), because some files have been named differently in the DESCRIPTION file and the different *.R-files.

The fix changes the names in the DESCRIPTION file and makes a successful installation possible.

In the long run it might be better style to change the names of the *.R-files that cause problems.

Original error during installation:

 Error in .install_package_code_files(".", instdir) : 
   fehlende Dateien im 'Collate' Feld von '/private/var/folders/fd/gcq8b6k96xx65_kh9_tp_yrssnxkx1/T/RtmpdqyEvk/Rbuild10bc5240c93d/SciencesPo/R':
     Bootstrap.R
     Describe.R
     Dummy.R
     Jackknife.R
     Normalize.R
     Recode.R
     runShinyApp.R
   ERROR: unable to collate and parse R files for package ‘SciencesPo’

munichrocker avatar Apr 02 '19 09:04 munichrocker