RIB
SCM

R Development Page

RIB log file (check_x86_64_linux)

Fri Feb 15 11:16:24 2013: Checking package RIB (SVN revision 24) ...
* using log directory ‘/mnt/building/build_2013-02-15-08-50/RF_PKG_CHECK/PKGS/RIB.Rcheck’
* using R version 2.15.2 Patched (2013-02-13 r61942)
* using platform: x86_64-unknown-linux-gnu (64-bit)
* using session charset: UTF-8
* checking for file ‘RIB/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘RIB’ version ‘0.1.4’
* checking CRAN incoming feasibility ... NOTE
Maintainer: ‘Adrian A. Dragulescu ’
New submission
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... NOTE
Found the following hidden files and directories:
  tests/.make.IB.package.R
  tests/.test.ib_api.R
These were most likely included in error. See section ‘Package
structure’ in the ‘Writing R Extensions’ manual.
* checking whether package ‘RIB’ can be installed ... [4s/7s] OK
* checking installed package size ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... WARNING
Error: .onLoad failed in loadNamespace() for ‘RIB’, details:
  call: fun(libname, pkgname)
  error: could not find function ".jpackage"
Execution halted

A namespace must be able to be loaded with just the base namespace
loaded: otherwise if the namespace gets loaded by a saved object, the
session will be unable to start.

Probably some imports need to be declared in the NAMESPACE file.
* checking whether the namespace can be unloaded cleanly ... WARNING
Error: .onLoad failed in loadNamespace() for ‘RIB’, details:
  call: fun(libname, pkgname)
  error: could not find function ".jpackage"
Execution halted
* checking loading without being on the library search path ... OK
* checking for unstated dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... NOTE
prepare_Rd: reqMktData.Rd:29-30: Dropping empty section \details
prepare_Rd: twsContract.Rd:53-55: Dropping empty section \details
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... WARNING
Undocumented code objects:
  ‘clearMsg’ ‘getNextOrderId’ ‘placeOrder’
All user-level objects in a package should have documentation entries.
See the chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* checking for code/documentation mismatches ... WARNING
Functions/methods with usage in documentation object 'reqHistoricalData' but not in code:
  cancelHistoricalData

Functions/methods with usage in documentation object 'reqMktData' but not in code:
  cancelMktData

Functions/methods with usage in documentation object 'twsConnect' but not in code:
  twsDisconnect

Codoc mismatches from documentation object 'reqAccountUpdates':
reqAccountUpdates
  Code: function(tws, acctCode)
  Docs: function(conn, acctCode)
  Argument names in code not in docs:
    tws
  Argument names in docs not in code:
    conn
  Mismatches in argument names:
    Position: 1 Code: tws Docs: conn

Codoc mismatches from documentation object 'reqHistoricalData':
reqHistoricalData
  Code: function(tws, Contract, endDateTime = Sys.time(), barSize = "1
                 day", duration = "1 M", whatToShow = "MIDPOINT", reqId
                 = as.integer(1), useRTH = as.integer(1))
  Docs: function(conn, Contract, endDateTime = Sys.time(), barSize = "1
                 day", duration = "1 M", whatToShow = "MIDPOINT", reqId
                 = as.integer(1), useRTH = as.integer(1))
  Argument names in code not in docs:
    tws
  Argument names in docs not in code:
    conn
  Mismatches in argument names:
    Position: 1 Code: tws Docs: conn

Codoc mismatches from documentation object 'twsConnect':
twsConnect
  Code: function(clientId = 0, host = "", port = 7496)
  Docs: function(clientId = as.integer(0), host = "", port =
                 as.integer(7496))
  Mismatches in argument default values:
    Name: 'clientId' Code: 0 Docs: as.integer(0)
    Name: 'port' Code: 7496 Docs: as.integer(7496)

Codoc mismatches from documentation object 'twsContract':
twsContract
  Code: function(.Object, symbol, secType = "STK", expiry = "", strike
                 = 0, right = "", multiplier = 1, exchange = "SMART",
                 currency = "USD", localSymbol = "", primaryExchange =
                 "SMART", includeExpired = FALSE, comboLegsDescription
                 = "", comboLegs, conID = 0)
  Docs: function(symbol, secType = "STK", expiry = "", strike = 0,
                 right = "", exchange = "SMART", currency = "USD",
                 localSymbol = "", primaryExchange = "SMART",
                 includeExpired = FALSE, multiplier = 1,
                 comboLegsDescription = "", comboLegs, conID = 0)
  Argument names in code not in docs:
    .Object
  Mismatches in argument names (first 3):
    Position: 1 Code: .Object Docs: symbol
    Position: 2 Code: symbol Docs: secType
    Position: 3 Code: secType Docs: expiry

* checking Rd \usage sections ... WARNING
Objects in \usage without \alias in documentation object 'getMsg':
  ‘clearMsg’

Undocumented arguments in documentation object 'reqHistoricalData'
  ‘tickerId’

Objects in \usage without \alias in documentation object 'reqMktData':
  ‘cancelMktData’

Undocumented arguments in documentation object 'twsConnect'
  ‘con’

Undocumented arguments in documentation object 'twsContract'
  ‘secType’ ‘primaryExchange’ ‘conID’
Documented arguments not in \usage in documentation object 'twsContract':
  ‘sectype’ ‘primaryExch’ ‘conId’

Duplicated \argument entries in documentation object 'twsOrder':
  ‘ocaType’

Functions with \usage entries need to have the appropriate \alias
entries, and all their arguments documented.
The \usage entries must correspond to syntactically valid R code.
See the chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... ERROR
Running examples in ‘RIB-Ex.R’ failed
The error most likely occurred in:

> ### Name: twsContract
> ### Title: Create a twsContract
> ### Aliases: twsContract
> ### Keywords: utilities
> 
> ### ** Examples
> 
> 
> # AAPL stock
> contract <- twsContract("AAPL")
Error in as.character(symbol) : 'symbol' is missing
Calls: twsContract -> .jnew
Execution halted
Run time: 77.85 seconds.

Additional Logs:   00install.out
Thanks to:
Vienna University of Economics and Business Powered By FusionForge