CRAN package that does Potts models