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

devtools can't handle ' in my name #1490

Closed
dkod opened this issue Apr 5, 2017 · 6 comments
Closed

devtools can't handle ' in my name #1490

dkod opened this issue Apr 5, 2017 · 6 comments

Comments

@dkod
Copy link

dkod commented Apr 5, 2017

I am having problem installing GitHub packages with devtools. I suspect it is being caused by my Name (Kelly O'Day). The ' seems to be causing problem.

> devtools::install_github('azvoleff/cdbr')
Downloading GitHub repo azvoleff/cdbr@master
from URL https://api.github.com/repos/azvoleff/cdbr/zipball/master
Installing cdbr
"C:/PROGRA~1/R/R-33~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Kelly O'Day/AppData/Local/Temp/RtmpGYKauZ/devtools29ec585732a6/azvoleff-cdbr-fec0165"  \
  --library="C:/Users/Kelly O'Day/Documents/R/win-library/3.3" --install-tests 

* installing *source* package 'cdbr' ...
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
*** arch - i386
Error: unexpected symbol in "tools:::.test_load_package('cdbr', 'C:/Users/Kelly O'Day"
Execution halted
*** arch - x64
Error: unexpected symbol in "tools:::.test_load_package('cdbr', 'C:/Users/Kelly O'Day"
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'C:/Users/Kelly O'Day/Documents/R/win-library/3.3/cdbr'
Error: Command failed (1)

Any suggestions? I've been using O'Day on Windows for many years without issues??

@lwjohnst86
Copy link

lwjohnst86 commented May 22, 2017

@dkod Have you tried wrapping your name with " quotes rather than '? For instance "O'Day". I see, the issue is with the initial installation to the file path indicated. Double quotes might not work then.

@gaborcsardi
Copy link
Member

@dkod Can you try it with the GitHub version of devtools?

@hadley
Copy link
Member

hadley commented Aug 1, 2017

Works for me with dev devtools.

@hadley hadley closed this as completed Aug 1, 2017
@mkohara
Copy link

mkohara commented Feb 6, 2018

@hadley What do you mean by it works with "dev devtools". I'm also having the same issue that @dkod had due to an apostrophe in my name.

@mgagliol
Copy link

mgagliol commented Mar 20, 2018

@hadley @mkohara a student of mine has the exact same issue, what should she do? For "dev devtools" do you mean she should first devtools::install_github("r-lib/devtools") ? Thanks

@lock
Copy link

lock bot commented Sep 17, 2018

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Sep 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants