The following is no longer needed as the CRAN version of haven is working. This vignette is still here though in case we need a non-CRAN pacakge in the future.
In order to install
rdhs you will require a working development environment. The following guide details how to do this across different operating systems. Please note this is only temporary while we wait for a development version of haven to make it to CRAN. Apologies for the inconvenience
In order to find out which version of Rtools you will need to check which version of R you are running. This can be be found out using the
Mac: Install Xcode from the Mac App Store.
Linux: Install a compiler and various development libraries (details vary across different flavors of Linux).
Once a working development environment is ready then the following should work for you:
# install.packages("devtools") # devtools::install_github("ropensci/rdhs") # library(rdhs)