Tried to follow the solution from can't install "CHAID" on Mac OS X 10.9.5 but it doesn't work for my case.
When I try to install the package from R-Forge and type as source, it shows following results:
install.packages("CHAID", repos="http://R-Forge.R-project.org", type = "source")
Installing package into ‘/Users/guilin/Library/R/3.2/library’(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘CHAID’ is not available (for R version 3.2.2)
I also try to download it directly from R-forge website (CHAID_0.1-2.tar) and install it from local downloaded file, it also shows the same error.
package ‘~/Downloads/CHAID_0.1-2.tar’ is not available (for R version 3.2.2)
I did have the same result to the attempt to install from r-forge. Here's what I then did (running R version 3.2.2 (2015-08-14) -- "Fire Safety"; Platform: x86_64-apple-darwin13.4.0 (64-bit) ; i.e., "El Capitan":
In the Terminal console (following the directions on hte project webpages):
I then moved the untarred folder to my $HOME directory (which is also my working directory) and in an open R-GUI console session: