Cannot find my package

rstudio

#1

I wanted to execute a check during myFirstPackage package development
devtools::check("C:\Users\Joël\Documents\STATISTIEK\R\MyPackages\myFirstPackage")

and got following reply
Updating myFirstPackage documentation
Loading myFirstPackage
Error: Can't find 'C:\Users\Joël\Documents\STATISTIEK\R\MyPackages\myFirstPackage'.

I think the error has to do with the fact that in the path specification Joël is used which is converted to Joël. Can someone give me a hint to solve this ?


#2

Would you like to use the relative path instead of the absolute path in the your "check" function. You can also try to change "Character Encoding" in your RStudio. Good luck :slight_smile:


#3

I agree that using the relative path may help - you might want to check out the here package.