CRAN Package Check Results for Package BondValuation

Last updated on 2023-01-25 04:51:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 33.12 68.41 101.53 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 23.07 49.80 72.87 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 143.41 OK
r-devel-linux-x86_64-fedora-gcc 0.1.1 118.28 OK
r-devel-windows-x86_64 0.1.1 47.00 113.00 160.00 OK
r-patched-linux-x86_64 0.1.1 27.46 63.09 90.55 OK
r-release-linux-x86_64 0.1.1 30.55 62.58 93.13 OK
r-release-macos-arm64 0.1.1 35.00 ERROR
r-release-macos-x86_64 0.1.1 47.00 OK
r-release-windows-x86_64 0.1.1 45.00 107.00 152.00 OK
r-oldrel-macos-arm64 0.1.1 38.00 ERROR
r-oldrel-macos-x86_64 0.1.1 48.00 OK
r-oldrel-windows-ix86+x86_64 0.1.1 64.00 123.00 187.00 OK

Check Details

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘BondValuation-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: AnnivDates
    > ### Title: AnnivDates (time-invariant properties and temporal structure)
    > ### Aliases: AnnivDates
    >
    > ### ** Examples
    >
    > data(SomeBonds2016)
    >
    > # Applying the function AnnivDates to the data frame SomeBonds2016.
    > system.time(
    + FullAnalysis<-apply(SomeBonds2016[,c('Issue.Date','Mat.Date','CpY.Input','FIPD.Input',
    + 'LIPD.Input','FIAD.Input','RV.Input','Coup.Input','DCC.Input','EOM.Input')],1,function(y)
    + AnnivDates(y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],RegCF.equal=1)),
    + gcFirst = TRUE)
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The issue date (Em) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(Em,"%Y-%m-%d")" and processed as Em = 2016-03-24 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The maturity date (Mat) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(Mat,"%Y-%m-%d")" and processed as Mat = 2023-04-01 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The first interest payment date (FIPD) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(FIPD,"%Y-%m-%d")" and processed as FIPD = 2016-10-01 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The last interest payment date (LIPD) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(LIPD,"%Y-%m-%d")" and processed as LIPD = 2022-10-01 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The first interest accrual date (FIAD) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(FIAD,"%Y-%m-%d")" and processed as FIAD = 2016-03-24 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The number of interest payments per year (CpY) is supplied as a number of class "character".
     Its conversion to class numeric results in CpY = 12 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The redemption value (RV) is supplied as a number of class "character".
     Its conversion to class numeric results in RV = 100 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The nominal interest rate p.a. (Coup) is supplied as a number of class "character".
     Its conversion to class numeric results in Coup = 5.02 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The day count convention identifier (DCC) is supplied as a number of class "character".
     Its conversion to class numeric results in DCC = 14 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The End-of-Month rule boolean (EOM) is supplied as a number of class "character".
     Its conversion to class numeric results in EOM = 1 .
    Warning in AnnivDates(y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], :
     The provided EOM = 1 conflicts with one or several provided calendar dates.
     EOM is set 0 .
    Error in if (index_LIPD >= 1) { : argument is of length zero
    Calls: system.time -> apply -> FUN -> AnnivDates
    Timing stopped at: 0.007 0.001 0.008
    Execution halted
Flavor: r-release-macos-arm64

Version: 0.1.1
Check: examples
Result: ERROR
    Running examples in ‘BondValuation-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: AnnivDates
    > ### Title: AnnivDates (time-invariant properties and temporal structure)
    > ### Aliases: AnnivDates
    >
    > ### ** Examples
    >
    > data(SomeBonds2016)
    >
    > # Applying the function AnnivDates to the data frame SomeBonds2016.
    > system.time(
    + FullAnalysis<-apply(SomeBonds2016[,c('Issue.Date','Mat.Date','CpY.Input','FIPD.Input',
    + 'LIPD.Input','FIAD.Input','RV.Input','Coup.Input','DCC.Input','EOM.Input')],1,function(y)
    + AnnivDates(y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],RegCF.equal=1)),
    + gcFirst = TRUE)
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The issue date (Em) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(Em,"%Y-%m-%d")" and processed as Em = 2016-03-24 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The maturity date (Mat) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(Mat,"%Y-%m-%d")" and processed as Mat = 2023-04-01 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The first interest payment date (FIPD) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(FIPD,"%Y-%m-%d")" and processed as FIPD = 2016-10-01 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The last interest payment date (LIPD) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(LIPD,"%Y-%m-%d")" and processed as LIPD = 2022-10-01 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The first interest accrual date (FIAD) is supplied as a string of class "character" in the format "yyyy-mm-dd". It is converted to class "Date" using the command "as.Date(FIAD,"%Y-%m-%d")" and processed as FIAD = 2016-03-24 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The number of interest payments per year (CpY) is supplied as a number of class "character".
     Its conversion to class numeric results in CpY = 12 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The redemption value (RV) is supplied as a number of class "character".
     Its conversion to class numeric results in RV = 100 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The nominal interest rate p.a. (Coup) is supplied as a number of class "character".
     Its conversion to class numeric results in Coup = 5.02 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The day count convention identifier (DCC) is supplied as a number of class "character".
     Its conversion to class numeric results in DCC = 14 .
    Warning in InputFormatCheck(Em = Em, Mat = Mat, CpY = CpY, FIPD = FIPD, :
     The End-of-Month rule boolean (EOM) is supplied as a number of class "character".
     Its conversion to class numeric results in EOM = 1 .
    Warning in AnnivDates(y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], :
     The provided EOM = 1 conflicts with one or several provided calendar dates.
     EOM is set 0 .
    Error in if (index_LIPD >= 1) { : argument is of length zero
    Calls: system.time -> apply -> FUN -> AnnivDates
    Timing stopped at: 0.006 0.001 0.007
    Execution halted
Flavor: r-oldrel-macos-arm64