eurostat
eurostat copied to clipboard
Specify that libgdal-dev is necessary to install on Debian/Ubuntu or make the sf package optional
This is a request to :
- either document the sf dependency and GDAL requirement with an additional error message.
- or make the sf dependency optional (since the eurostat data download doesn't depend on it and since GDAL is quite a heavy library to install)
Installation failed on Debian because of a missing GDAL dependency for the sf package. The sf package is itself a dependency of the eurostat package (as visible in the imports of the DESCRIPTION file). Some packages print a message when the installation fails, that suggest installing the required packages at the system level. The message in this case could be:
Please install the GDAL development library
sudo apt install libgdal-dev
Maybe this installation instruction should actually be notified when the sf package fails to install? The Ubuntu dependencies are actually specified in the sf readme, but a hint in the installation process would make the installation smoother.
Good point.
As a primary solution, I would suggest dropping sf from Dependencies to Imports/Suggests if this helps.
But adding our own Ubuntu (and other) dependencies section in the same way than in sf package would be helpful as well.
Should now be fixed with the package version 4.0.0. If the problem persists please open a new issue.