SSMS 18.0 doesn't script CREATE EXTERNAL LIBRARY properly
I've tried to script all objects in a database using Tasks -> Generate scripts. The result was missing content and of course error 39044 during execution of the script on another instance:
CREATE EXTERNAL LIBRARY [ml]
FROM (content = '')
WITH (LANGUAGE = 'R')
Please, upgrade to SSMS 18.2.
We did a bit of cleanup/bug-fixing in the area of “external” objects. As a result, this issue should have been fixed.