This function uses ROI, so to solve models, you will need a solver plugin for ROI. Probably the easiest one to install is ROI.plugin.glpk.
To install this in Linux, run sudo apt-get install libglpk-dev
in a terminal, and then run install.packages('ROI.plugin.glpk')
in R.