Closed shikokuchuo closed 2 years ago
Thank you for the suggestion. I have added cmake to the build image for macos. I think your package should work now.
Seems to have done the trick. Thanks for the super fast response!
Hi Jeroen, nanonext was admitted to CRAN today but the package was showing as nanonext/nanonext with a red question mark next to it (it was not shikokuchuo/nanonext as you'd expect - that might be a clue).
I then tried removing the universe repo from my Github and it has now completely disappeared. Something seems to be out of sync - is there a way you can do a reset so it recognises that nanonext is the correct repo for the CRAN package? Thanks!
Our CRAN scraper only runs once every 24 hours. So the red question mark will have disappeared tomorrow.
I've triggered an extra scrape run for you so the package should be there in a few minutes...
Hi Jeroen, I uploaded a new package 'nanonext' that wraps the C library 'libnng'. It requires either the library itself or 'cmake' to build it from source.
The configure script is adapted from your own 'Anticonf' - but if a system installation is not detected it will download and attempt to build the library from source.
The MacOS build currently fails on R-universe as I am guessing there is no 'cmake' installed . If there is, please let me know if there is a better way of detecting cmake - configure already looks for the usual mac location if cmake is not on the $PATH, which seems to work for R-hub's MacOS High Sierra (CRAN's setup).
Otherwise, would be grateful if one of 'libnng' (Homebrew package 'nng') or 'cmake' is installed on the Mac setup. Thanks!