README (original) (raw)
PASWR
Version 1.3
Alan T. Arnholt
PASWR: Functions and data sets for the text_Probability and Statistics with R_
Please report any bugs orsuggestions at: https://github.com/alanarnholt/PASWR/issues.
Installation
The package is available for download from CRAN.
You may download the most recent version using the devtools functioninstall_github()
to install PASWR in R.
However, you need to make sure you’re set up to develop packages. This is platform specific:
- On Windows, download and install Rtools.
- On the Mac, make sure you have Xcode installed.
- On Linux, make sure you have the R-dev packages installed.
You can check everything is installed correctly with thehas_devel()
function from the devtoolspackage. Type the following at the R prompt:
install.packages("devtools", dependencies = TRUE)
devtools::has_devel()
If everything is installed correctly, the function will print some output and then return TRUE.
To install the PASWR package, type the following at the R prompt:
devtools::install_github('alanarnholt/PASWR')
It is possible to install PASWR with GIT and the R CMD buildassuming you have GIT installed and the appropriate tools to buildR from source.
git clone https://github.com/alanarnholt/PASWR.git
R CMD build PASWR
R CMD INSTALL PASWR_*.tar.gz