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

Update "How to install" section of the README file #39

Open
ashirwad opened this issue Feb 28, 2020 · 1 comment
Open

Update "How to install" section of the README file #39

ashirwad opened this issue Feb 28, 2020 · 1 comment

Comments

@ashirwad
Copy link

Hey, thanks for the great package! Recently, I was trying to install the package on my Windows machine and I was not successful until I discovered this in the install.packages() documentation:

For a 32/64-bit installation of R on Windows, a small minority of packages with compiled code need either INSTALL_opts = "--force-biarch" or INSTALL_opts = "--merge-multiarch" for a source installation. (It is safe to always set the latter when installing from a repository or tarballs, although it will be a little slower.)

The following code worked for me instead of the one that you have provided on the README file:

devtools::install_github(
  "benmarwick/wordcountaddin", type = "source", dependencies = TRUE, 
  INSTALL_opts = "--merge-multiarch"
)

I am not sure if other Windows users experienced problems with this package installation, but in my opinion it would be good to add the alternative that I just showed as a remedy if someone does experience something similar to what I did.

@benmarwick
Copy link
Owner

Thank you for letting me know about this, I wasn't aware of that error or fix. Thanks for sharing your solution. I'll look into it a bit more.

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