SCM

R Development Page

xVA log file (check_x86_64_linux)

Mon Oct 17 15:52:07 2022: Checking package xVA (SVN revision 66) ...
* using log directory ‘/srv/rf/building/build_2022-10-17-15-51/RF_PKG_CHECK/PKGS/xVA.Rcheck’
* using R version 4.2.1 Patched (2022-10-14 r83104)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using option ‘--as-cran’
* checking for file ‘xVA/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘xVA’ version ‘1.1’
* checking CRAN incoming feasibility ... WARNING
Maintainer: ‘Tasos Grivas ’

Insufficient package version (submitted: 1.1, existing: 1.1)

The Date field is over a month old.
* 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 ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking serialization versions ... OK
* checking whether package ‘xVA’ can be installed ... WARNING
Found the following significant warnings:
  Note: possible error in 'calcKVA(CSA, collateral, ': unused arguments (effective_maturity, reg_data$ignore_def_charge) 
See ‘/srv/rf/building/build_2022-10-17-15-51/RF_PKG_CHECK/PKGS/xVA.Rcheck/00install.out’ for details.
Information on the location(s) of code generating the ‘Note’s can be
obtained by re-running with environment variable R_KEEP_PKG_SOURCE set
to ‘yes’.
* checking installed package size ... OK
* checking package directory ... OK
* checking for future file timestamps ... 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 ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking use of S3 registration ... OK
* checking 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 ... NOTE
xVACalculator: possible error in calcKVA(CSA, collateral, trades,
  reg_data, time_points, EAD$EAD_Value, effective_maturity,
  reg_data$ignore_def_charge): unused arguments (effective_maturity,
  reg_data$ignore_def_charge)
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd line widths ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... WARNING
Codoc mismatches from documentation object 'calcKVA':
calcKVA
  Code: function(trades, reg_data, EAD, effective_maturity,
                 ignore_def_charge = TRUE, cva_capital_charge)
  Docs: function(CSA, collateral, trades, reg_data, time_points, EAD,
                 effective_maturity, ignore_def_charge = TRUE)
  Argument names in code not in docs:
    cva_capital_charge
  Argument names in docs not in code:
    CSA collateral time_points
  Mismatches in argument names (first 3):
    Position: 1 Code: trades Docs: CSA
    Position: 2 Code: reg_data Docs: collateral
    Position: 3 Code: EAD Docs: trades

* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking examples ... ERROR
Running examples in ‘xVA-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: xVACalculatorExample
> ### Title: xVA calculation example
> ### Aliases: xVACalculatorExample
> 
> ### ** Examples
> 
> 
> ## run the example
> 
> xVACalculatorExample()
Error in calcKVA(CSA, collateral, trades, reg_data, time_points, EAD$EAD_Value,  : 
  unused arguments (effective_maturity, reg_data$ignore_def_charge)
Calls: xVACalculatorExample -> xVACalculator
Execution halted
* checking PDF version of manual ... OK
* skipping checking HTML version of manual: no command ‘tidy’ found
* checking for non-standard things in the check directory ... OK
* checking for detritus in the temp directory ... OK
* DONE

Status: 1 ERROR, 3 WARNINGs, 1 NOTE
See
  ‘/srv/rf/building/build_2022-10-17-15-51/RF_PKG_CHECK/PKGS/xVA.Rcheck/00check.log’
for details.

Run time: 60.6 seconds.

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