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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: track.copy
> ### Title: Copy or move objects from one tracking db to another
> ### Aliases: track.copy track.move
> ### Keywords: data
> 
> ### ** Examples
> 
> ##############################################################
> # Warning: running this example will cause variables currently
> # in the R global environment to be written to .RData files
> # in a tracking database on the filesystem under R's temporary
> # directory, and will cause the variables to be removed temporarily
> # from the R global environment.
> # It is recommended to run this example with a fresh R session
> # with no important variables in the global environment.
> ##############################################################
> 
> library(track)
> # Track two environments and transfer objects from one to the other.
> # Use tmp dirs for the tracking dbs.
> track.start(dir=file.path(tempdir(), 'rdatadir2'))
Tracking <env R_GlobalEnv> (writable) using new directory '/home/hornik/tmp/scratch/Rtmp6j4mHb/rdatadir2'
Warning in (function (expr, ok, value, visible, data)  :
  oops: track.sync() had a problem (use track.auto(FALSE, pos=) to turn off): Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0

> track.attach(dir=file.path(tempdir(), 'rdatadir3'), pos=2, create=TRUE)
Attaching tracking db in '/home/hornik/tmp/scratch/Rtmp6j4mHb/rdatadir3' to env in pos 2 (writable)
Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0
> assign("x1", 1, pos=2)
Warning in (function (expr, ok, value, visible, data)  :
  oops: track.sync() had a problem (use track.auto(FALSE, pos=) to turn off): Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0

> assign("x2", 2, pos=2)
Warning in (function (expr, ok, value, visible, data)  :
  oops: track.sync() had a problem (use track.auto(FALSE, pos=) to turn off): Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0

> assign("y3", 3, pos=2)
Warning in (function (expr, ok, value, visible, data)  :
  oops: track.sync() had a problem (use track.auto(FALSE, pos=) to turn off): Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0

> assign("y4", 4, pos=2)
Warning in (function (expr, ok, value, visible, data)  :
  oops: track.sync() had a problem (use track.auto(FALSE, pos=) to turn off): Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0

> assign("z5", 5)
Warning in (function (expr, ok, value, visible, data)  :
  oops: track.sync() had a problem (use track.auto(FALSE, pos=) to turn off): Error in `[[<-.data.frame`(`*tmp*`, i, value = NA_character_) : 
  replacement has 1 row, data has 0

> track.status(1)
     Status InMem FileBase FileExists Saved
z5 orphaned  TRUE       z5      FALSE FALSE
> track.status(2)
[1] Status     InMem      FileBase   FileExists Saved     
<0 rows> (or 0-length row.names)
> track.copy(from=2, pat="^x", clobber=TRUE)
Copying objects from ../../../../../scratch/Rtmp6j4mHb/rdatadir3 to ../../../../../scratch/Rtmp6j4mHb/rdatadir2
Nothing to copy
> ls(1)
character(0)
> ls(2)
character(0)
> track.move(from=2, pat="^y", clobber=TRUE)
Moving objects from ../../../../../scratch/Rtmp6j4mHb/rdatadir3 to ../../../../../scratch/Rtmp6j4mHb/rdatadir2
Nothing to copy
> track.move(from=1, to=2, pat="^z", clobber=TRUE)
Moving objects from ../../../../../scratch/Rtmp6j4mHb/rdatadir2 to ../../../../../scratch/Rtmp6j4mHb/rdatadir3
Nothing to copy
> ls(1)
character(0)
> ls(2)
character(0)
> c(x1, x2, y3, y4)
Error: object 'x1' not found
Execution halted