A package compiled with a certain version of the graphics API will not work with R installations that use a different version.
get_graphics_api_version()
An integer scalar, the version of the graphics API of this R version.
get_graphics_api_version()
#> [1] 16