Running examples in ‘eurostat-Ex.R’ failed
The error most likely occurred in:

> ### Name: get_eurostat_geospatial
> ### Title: Download Geospatial Data from GISGO
> ### Aliases: get_eurostat_geospatial
> 
> ### ** Examples
> 
> sf <- get_eurostat_geospatial(output_class = "sf", resolution = "60", nuts_level = "all")

COPYRIGHT NOTICE

When data downloaded from this page 
<http://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units>
is used in any printed or electronic publication, 
in addition to any other provisions 
applicable to the whole Eurostat website, 
data source will have to be acknowledged 
in the legend of the map and 
in the introductory page of the publication 
with the following copyright notice:

- EN: (C) EuroGeographics for the administrative boundaries
- FR: (C) EuroGeographics pour les limites administratives
- DE: (C) EuroGeographics bezuglich der Verwaltungsgrenzen

For publications in languages other than 
English, French or German, 
the translation of the copyright notice 
in the language of the publication shall be used.

If you intend to use the data commercially, 
please contact EuroGeographics for 
information regarding their licence agreements.
          
sf at resolution 1:60 read from local file

# --------------------------
HEADS UP!!

Function now returns the data in 'sf'-class (simple features) 
by default which is different 
from previous behaviour's 'SpatialPolygonDataFrame'. 

If you prefer either 'SpatialPolygonDataFrame' or 
fortified 'data_frame' (for ggplot2::geom_polygon), 
please specify it explicitly to 'output_class'-argument!

# --------------------------          
          
> df <- get_eurostat_geospatial(output_class = "df", resolution = "20", nuts_level = "0")

COPYRIGHT NOTICE

When data downloaded from this page 
<http://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units>
is used in any printed or electronic publication, 
in addition to any other provisions 
applicable to the whole Eurostat website, 
data source will have to be acknowledged 
in the legend of the map and 
in the introductory page of the publication 
with the following copyright notice:

- EN: (C) EuroGeographics for the administrative boundaries
- FR: (C) EuroGeographics pour les limites administratives
- DE: (C) EuroGeographics bezuglich der Verwaltungsgrenzen

For publications in languages other than 
English, French or German, 
the translation of the copyright notice 
in the language of the publication shall be used.

If you intend to use the data commercially, 
please contact EuroGeographics for 
information regarding their licence agreements.
          
Cannot open data source <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /site5/cache/GISCO/distribution/v2/nuts/geojson/NUTS_RG_20M_2016_4326_LEVL_0.geojson was not found on this server.</p>
</body></html>

Error in CPL_read_ogr(dsn, layer, query, as.character(options), quiet,  : 
  Open failed.
Calls: get_eurostat_geospatial -> st_read -> st_read.character -> CPL_read_ogr
Execution halted