The rchess
package is a chess move, generation/validation, piece placement/movement, and check/checkmate/stalemate detection.
This Packages is a wrapper for the chess.js javascript library and integrates htmlwidget for plot chessboard using chessboardjs library.
For installation you use:
install.packages("rchess")
# Or
devtools::install_github("jbkunst/rchess")