The goal of hopticulate is to wrap the most excellent hyperopt python package so that it can be easily used from R.
You can install the development version of hopticulate from GitHub with:
remotes::install_github("njnmco/hopticulate")
You will also need to install the python package, at least until CRAN approves some way of doing so automatically:
reticulate::py_install("hyperopt")
Please see the getting started demo