The goal of autodiffr is to provide the C++ automatic differentation library autodiff in R.
autodiffr
You can install the development version of autodiffr like so:
# install.packages("devtools") devtools::install_github("fangzhou-xie/autodiffr")