CRAN Package Check Results for Package crp.CSFP

Last updated on 2020-03-25 10:46:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.2 10.94 39.26 50.20 ERROR
r-devel-linux-x86_64-debian-gcc 2.0.2 8.22 30.37 38.59 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.2 61.89 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0.2 58.73 ERROR
r-devel-windows-ix86+x86_64 2.0.2 21.00 48.00 69.00 ERROR
r-devel-windows-ix86+x86_64-gcc8 2.0.2 20.00 56.00 76.00 OK
r-patched-linux-x86_64 2.0.2 8.83 35.37 44.20 OK
r-patched-solaris-x86 2.0.2 80.30 ERROR
r-release-linux-x86_64 2.0.2 8.26 35.46 43.72 OK
r-release-windows-ix86+x86_64 2.0.2 20.00 53.00 73.00 OK
r-release-osx-x86_64 2.0.2 OK
r-oldrel-windows-ix86+x86_64 2.0.2 15.00 50.00 65.00 OK
r-oldrel-osx-x86_64 2.0.2 OK

Check Details

Version: 2.0.2
Check: examples
Result: ERROR
    Running examples in 'crp.CSFP-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: crp.CSFP-class
    > ### Title: Class '"crp.CSFP"'
    > ### Aliases: crp.CSFP-class
    > ### Keywords: classes
    >
    > ### ** Examples
    >
    > MyModel=init(path.in=system.file("data",package="crp.CSFP"),loss.unit=1e6,
    + calc.rc=TRUE)
     CreditRisk+ portfolio model
     Copyright (C) 2011 Dr. Matthias Fischer, Kevin Jakob & Stefan Kolb
    
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     version 2 as published by the Free Software Foundation.
    
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     GNU General Public License for more details.
    
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA 02110-1301, USA.
    
     Please note that this package will not be updated anymore.
     Instead we recommend to use the GCPM package which includes
     the functionality of this package as well as more flexible
     and more powerfull extensions.
    
    >
    > # or pass portfolio directly and use random sector variances
    > Path=system.file("data",package="crp.CSFP")
    > portfolio=read.csv(paste(Path,"/portfolio.csv",sep=""))
    > rating.scale=read.csv(paste(Path,"/rating_pd.csv",sep=""))
    > sec.var=data.frame(Var=runif(3,0,2))
    >
    > MyModel=init(portfolio=portfolio,rating.scale=rating.scale,sec.var=sec.var,
    + loss.unit=1e6,calc.rc=TRUE)
     CreditRisk+ portfolio model
     Copyright (C) 2011 Dr. Matthias Fischer, Kevin Jakob & Stefan Kolb
    
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     version 2 as published by the Free Software Foundation.
    
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     GNU General Public License for more details.
    
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA 02110-1301, USA.
    
     Please note that this package will not be updated anymore.
     Instead we recommend to use the GCPM package which includes
     the functionality of this package as well as more flexible
     and more powerfull extensions.
    
    >
    > # execute portfolio calculation
    > MyModel=crp.CSFP(MyModel)
    Importing risk information (Rating, PD, SD)....
    Importing portfolio data....
    Error in FUN(newX[, i], ...) : invalid 'type' (character) of argument
    Calls: crp.CSFP ... crp.CSFP -> crp.CSFP -> read -> read -> cbind -> apply
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 2.0.2
Check: examples
Result: ERROR
    Running examples in ‘crp.CSFP-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: crp.CSFP-class
    > ### Title: Class '"crp.CSFP"'
    > ### Aliases: crp.CSFP-class
    > ### Keywords: classes
    >
    > ### ** Examples
    >
    > MyModel=init(path.in=system.file("data",package="crp.CSFP"),loss.unit=1e6,
    + calc.rc=TRUE)
     CreditRisk+ portfolio model
     Copyright (C) 2011 Dr. Matthias Fischer, Kevin Jakob & Stefan Kolb
    
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     version 2 as published by the Free Software Foundation.
    
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     GNU General Public License for more details.
    
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA 02110-1301, USA.
    
     Please note that this package will not be updated anymore.
     Instead we recommend to use the GCPM package which includes
     the functionality of this package as well as more flexible
     and more powerfull extensions.
    
    >
    > # or pass portfolio directly and use random sector variances
    > Path=system.file("data",package="crp.CSFP")
    > portfolio=read.csv(paste(Path,"/portfolio.csv",sep=""))
    > rating.scale=read.csv(paste(Path,"/rating_pd.csv",sep=""))
    > sec.var=data.frame(Var=runif(3,0,2))
    >
    > MyModel=init(portfolio=portfolio,rating.scale=rating.scale,sec.var=sec.var,
    + loss.unit=1e6,calc.rc=TRUE)
     CreditRisk+ portfolio model
     Copyright (C) 2011 Dr. Matthias Fischer, Kevin Jakob & Stefan Kolb
    
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     version 2 as published by the Free Software Foundation.
    
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     GNU General Public License for more details.
    
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor,
     Boston, MA 02110-1301, USA.
    
     Please note that this package will not be updated anymore.
     Instead we recommend to use the GCPM package which includes
     the functionality of this package as well as more flexible
     and more powerfull extensions.
    
    >
    > # execute portfolio calculation
    > MyModel=crp.CSFP(MyModel)
    Importing risk information (Rating, PD, SD)....
    Importing portfolio data....
    Error in FUN(newX[, i], ...) : invalid 'type' (character) of argument
    Calls: crp.CSFP ... crp.CSFP -> crp.CSFP -> read -> read -> cbind -> apply
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86