The goal of afnir is to wrap AFNI functions in R.
You can install afnir from github with:
# install.packages("devtools")
devtools::install_github("muschellij2/afnir")
This is a basic example which shows you how to solve a common problem:
...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.