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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: area_extrac
> ### Title: Extracts a pre-defined region from ".gz"-file and saves subset
> ###   as a new ".gz"-file
> ### Aliases: area_extrac
> ### Keywords: region_definitions
> 
> ### ** Examples
> 
> ## Example 1: extract, write '.gz'-files, following default plot-procedure
> library(raster)
> 
> # load sample-'.gz'-file
> setwd(system.file("test_files", package="oceanmap"))
> gz.files <- Sys.glob('*.gz')
> print(gz.files)
 [1] "med4_avhrr_p100_4km_1m_20030601_20030630.smoothgrad.0.04-3-5.edge.gz" 
 [2] "med4_avhrr_sst2_4km_1m_20000801_20090831.smoothgrad.0.04-3-5.edge.gz" 
 [3] "med4_aviso_sla_033d_7d_20020310_20020316.dt.upd.extrac.gz"            
 [4] "med4_modis_chla_4km_1s_20030228_20121201.smoothgrad.0.01-3-5.gz"      
 [5] "med4_modis_chla_4km_1s_20030301_20120531.smoothgrad.0.01-3-5.gz"      
 [6] "med4_modis_chla_4km_1s_20030601_20120831.smoothgrad.0.01-3-5.gz"      
 [7] "med4_modis_chla_4km_1s_20030901_20121130.smoothgrad.0.01-3-5.gz"      
 [8] "med4_modis_chlagrad_4km_1d_20020720_20020720.R2012.0.gauss3.sobel3.gz"
 [9] "medw4_modis_sst2_4km_1d_20020704_20020704.r2010.0.qual0.gz"           
[10] "medw4_modis_sst2_4km_1d_20020705_20020705.r2010.0.qual0.gz"           
[11] "medw4_modis_sst2_4km_1d_20020707_20020707.r2010.0.qual0.gz"           
> # area_extrac(gz.files[1],area='lion')
> 
> # gz <- Sys.glob('lion*.gz') # load new-'.gz'-file
> # v(gz) # visualize new-'.gz'-file
> # system(paste('rm', gz))       
> # v(gz.files[1],v_area='lion')
> 
> 
> 
> base::assign(".dptime", (proc.time() - get(".ptime", pos = "CheckExEnv")), pos = "CheckExEnv")
> base::cat("area_extrac", base::get(".format_ptime", pos = 'CheckExEnv')(get(".dptime", pos = "CheckExEnv")), "\n", file=base::get(".ExTimings", pos = 'CheckExEnv'), append=TRUE, sep="\t")
Warning in file(file, ifelse(append, "a", "w")) :
  cannot open file 'oceanmap-Ex.timings': Read-only file system
Error in file(file, ifelse(append, "a", "w")) : 
  cannot open the connection
Calls: <Anonymous> -> file
Execution halted