R package for deep learning