Skip to content

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

@ashirwad

Description

@ashirwad

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions