There is a new pull request by luhann against master on the void-packages repository https://github.com/luhann/void-packages R-cran-nloptr https://github.com/void-linux/void-packages/pull/23735 R-cran-nloptr: update to 1.2.2.2. A patch file from https://github.com/void-linux/void-packages/pull/23735.patch is attached