Running ‘test1.r’ [0s/1s]
Running the tests in ‘tests/test1.r’ failed.
Complete output:
  > #!/usr/bin/r
  > 
  > library(RVowpalWabbit)
  > 
  > # Test 1:
  > # {VW} -b 17 -l 20 --initial_t 128000 --power_t 1 -d train-sets/0001.dat -f models/0001.model -c --passes 2 --compressed --ngram 3 --skips 1
  > test1 <- c("-b", "17",
  +            "-l", "20",
  +            "--initial_t", "128000",
  +            "--power_t", "1",
  +            "-d", system.file("test", "train-sets", "0001.dat", package="RVowpalWabbit"),
  +            "-f", system.file("test", "models", "0001.model", package="RVowpalWabbit"),
  +            "-c",
  +            "--passes", "2",
  +            "--compressed",
  +            "--ngram", "3",
  +            "--skips", "1")
  > 
  > res <- vw(test1, quiet=FALSE)
  You have chosen to generate 3-grams
  You have chosen to generate 1-skip-3-grams
  final_regressor = /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RVowpalWabbit/test/models/0001.model
  using cache_file = /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RVowpalWabbit/test/train-sets/0001.dat.cache
  ignoring text input in favor of cache input
  num sources = 1
  Num weight bits = 17
  learning rate = 2.56e+06
  initial_t = 128000
  power_t = 1
  decay_learning_rate = 1
  learning_rate set to 2.56e+06
  average    since       example  example    current  current  current
  loss       last        counter   weight      label  predict features
  1.000000   1.000000          3      3.0     0.0000   1.0000      326
  0.666667   0.333333          6      6.0     1.0000   0.0000      170
  0.417495   0.118490         11     11.0     0.0000   0.0000      212
  0.526930   0.636364         22     22.0     1.0000   0.0000      512
  0.377101   0.227273         44     44.0     0.0000   0.0000      380
  0.340143   0.302326         87     87.0     1.0000   1.0000      350
  0.302255   0.264368        174    174.0     1.0000   0.0000      140
  0.208599   0.114943        348    348.0     1.0000   1.0000      152
  Error in Rvw(args) : 
    can't open: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RVowpalWabbit/test/models/0001.model.writing for writing, exiting
  Calls: vw -> Rvw
  Execution halted