First registers fonts so that they can be used with the PDF, PostScript, or Windows bitmap output devices, then imports Lato.
import_lato()
Path to folder containing Lato TTF file (invisibly)
This does not replace the need to install Lato on your system for output to
other graphics devices (e.g. png). You can do this by downloading the font
from the web and saving it to the appropriate location for your system
(/Library/Fonts/
on macOS). import_lato()
invisibly returns the path to
the TTF file that's included in the package, in case you prefer to copy it
from there to your system font library.
if (FALSE) { import_lato() }