Set the GDAL warning level or get a data.frame with the available GDAL drivers (file formats), or get the GDAL version (if warn=NA and drivers=FALSE, the default.
GDAL is the software library that terra builds on to read and write spatial data and for some raster data processing.