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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ODB-package
> ### Title: Open Document Databases (.odb) management
> ### Aliases: ODB-package ODB
> 
> ### ** Examples
> 
> 
>   ## CONNECTION ##
>   
>   # Creation of a new .odb database
>   odb.create("test.odb", overwrite="do")
> 
>   # Connection to the file
>   odb <- odb.open("test.odb")
>   
>   
>   ## STRUCTURE ##
>   
>   # Creation of a new table
>   SQL <- "CREATE TABLE fruits (id INTEGER PRIMARY KEY, value VARCHAR(8))"
>   odb.write(odb, SQL)
Execution : 1/1 (ETA: 00:00:00)
>   
>   # Addition of comments on columns
>   odb.comments(odb, "fruits", c("id", "value")) <- c("Fruit rank", "Fruit name")
>   
>   # Printing of the database structure
>   print(odb.tables(odb))
$FRUITS
  field.name field.type data.type comment
1         ID    INTEGER   numeric      NA
2      VALUE    VARCHAR character      NA

>   
>   # Printing of a specific comment
>   print(odb.comments(odb, "fruits", "value"))
[1] "Fruit name"
>   
>   
>   ## DATA ##
>   
>   # Insertion of data
>   data <- data.frame(id=1:3, value=c("apple", "orange", "pear"))
>   odb.insert(odb, tableName="fruits", data=data, execute=TRUE)
Execution : 1/3 (ETA: 00:00:00.050)2/3 (ETA: 00:00:00.032)3/3 (ETA: 00:00:00)
>   
>   # Reading
>   print(odb.read(odb, "SELECT * FROM fruits WHERE id=2"))
  ID  VALUE
1  2 orange
>   
>   # Saved query
>   odb.queries(odb, "2nd record") <- "SELECT * FROM fruits WHERE id=2"
>   print(odb.read(odb, odb.queries(odb, "2nd record")))
  ID  VALUE
1  2 orange
>   
>   # SQL export
>   odb.export(odb, "test.sql")
Execution : 1/1 (ETA: 00:00:00)
>   
>   
>   ## DISCONNECTION ##
>   
>   # Is the connection closed ?
>   print(isClosed(odb))
[1] FALSE
>   
>   # Save changes in the .odb file
>   odb.close(odb, write=TRUE)
zip I/O error: Permission denied
zip error: Could not create output file (/home/hornik/tmp/R.check/r-release-gcc/Work/PKGS/ODB.Rcheck/test.odb)
Error in odb.close(odb, write = TRUE) : 
  ODB file building failed (code 15)
Execution halted