Surprisingly compact code for NN/CNN in R applied to open datasets, cifar for image classificaion. This is based on examples noted in the comments, following a video tutorial and related code. Of course, nothing seems to work without revision, and I made some changes to get this to work. If I remember what they are, I'll let you know. If this doesn't work for you, let me know.
Best Wishes, and enjoy.