Problem with installing "papaja" package

Hello everybody,

I hope this will reach anyone because I'm out of options...
I want to install the papaja- package in RStudio but it's just not working no matter which way I'm trying. I'm not sure, if it's because of the Umlaut in my last name. I heared before that there are some problems with devtools and the german Umlaut.
I'm gonna copy the code I'm using and the Error which is following now.

The Code

# Install devtools package if necessary
if(!"devtools" %in% rownames(installed.packages())) install.packages("devtools")

# Install the stable development verions from GitHub
devtools::install_github("crsh/papaja")

The Error

> devtools::install_github("crsh/papaja")
Downloading GitHub repo crsh/papaja@master
√  checking for file 'C:\Users\Putzi Köse\AppData\Local\Temp\RtmpgtLjqo\remotes2dac5d3d7042\crsh-papaja-6ef5e13/DESCRIPTION' ... 
-  preparing 'papaja': (508ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (463ms)
-  checking for empty or unneeded directories
-  building 'papaja_0.1.0.9842.tar.gz'
   
Installing package into ‘C:/Users/Putzi Köse/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package 'papaja' ...
Error in file(file, if (append) "a" else "w") : 
  (konvertiert von Warnung) kann Datei 'C:/Users/Putzi Kvse/Documents/R/win-library/3.5/papaja/DESCRIPTION' nicht öffnen: No such file or directory
ERROR: installing package DESCRIPTION failed for package 'papaja'
* removing 'C:/Users/Putzi Köse/Documents/R/win-library/3.5/papaja'
In R CMD INSTALL
Error in i.p(...) : 
  (converted from warning) installation of package ‘C:/Users/PUTZIK~1/AppData/Local/Temp/RtmpgtLjqo/file2dac7373e84/papaja_0.1.0.9842.tar.gz’ had non-zero exit status

I'm so thankful for help, really.

Thank you in advance!
Have a nice evening,
Senem

Try installing to C:/Program Files/R/R-3.5/library instead

.libPaths("C:/Program Files/R/R-3.5/library")
devtools::install_github("crsh/papaja")

Also make sure that you are running rstudio as administrator

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.