See this template repo: https://github.com/binder-examples/r-conda R packages not (yet) available in conda could be installed manually in a `postBuild` script.