* using log directory 'd:/RCompile/CRANincoming/R-devel/FEMSdevBase.Rcheck' * using R Under development (unstable) (2025-09-21 r88861 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'FEMSdevBase/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'FEMSdevBase' version '0.0.4' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Francis Parr ' New submission Possibly misspelled words in DESCRIPTION: ACTUS (3:27, 17:31, 19:52, 20:11, 23:26, 23:71, 24:49, 26:25, 35:5) EventSeries (22:50, 27:5, 29:19, 30:25) FEMSdevBase (9:5, 10:69) FEMSdevPkg (9:53) cashFlow (21:65) cashflow (3:33, 17:44, 26:60, 27:27) cashflowPlot (29:5) contractID (28:23) csv (14:47, 34:61) csvx (34:14) datafram (27:70) fnameIn (34:23) generateEvents (19:23, 25:60) installSampleData (31:5) io (11:74) mydirectory (31:24) portfoilio (21:20) ptf (34:19) samplePortfolio (14:5) samplecsv (31:45) serverURL (19:58, 23:32) yyyy (37:47) No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = "Francis", family = "Parr", role = c("aut", "cre"), email = "fnparr@gmail.com"), person(given = "Donat", family = "Maier", role = "aut"), person(given = "Gian-Andrin", family = "Tommasini", role = "aut"), person(given = "Nils", family = "Bundi", role = "aut")) as necessary. The Title field should be in title case. Current version is: 'Provides an API to ACTUS cashflow Generation, liquidity and income plots' In title case that is: 'Provides an API to ACTUS Cashflow Generation, Liquidity and Income Plots' The Description field should not start with the package name, 'This package' or similar. * 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 hidden files and directories ... OK * checking for portable file names ... NOTE Found the following non-portable file paths: FEMSdevBase/man/generateEventSeries-ContractType-character-missing-character-character-list-method.Rd FEMSdevBase/man/generateEventSeries-ContractType-character-missing-character-missing-missing-method.Rd FEMSdevBase/man/generateEvents-ContractAnalysis-missing-missing-missing-missing-missing-missing-method.Rd FEMSdevBase/man/generateEvents-FinancialModel-missing-missing-missing-missing-missing-missing-method.Rd FEMSdevBase/man/generateEvents-ScenarioAnalysis-Portfolio-character-missing-missing-missing-missing-method.Rd FEMSdevBase/man/generateEvents-missing-Portfolio-character-missing-character-character-list-method.Rd FEMSdevBase/man/generateEvents-missing-Portfolio-character-missing-character-missing-missing-method.Rd Tarballs are only required to store paths of up to 100 bytes and cannot store those of more than 256 bytes, with restrictions including to 100 bytes for the final component. See section 'Package structure' in the 'Writing R Extensions' manual. * checking serialization versions ... OK * checking whether package 'FEMSdevBase' can be installed ... WARNING Found the following significant warnings: Warning: replacing previous import 'TAF::period' by 'lubridate::period' when loading 'FEMSdevBase' Warning: replacing previous import 'timeSeries::head' by 'utils::head' when loading 'FEMSdevBase' Warning: replacing previous import 'timeSeries::tail' by 'utils::tail' when loading 'FEMSdevBase' Warning: replacing previous import 'timeSeries::time<-' by 'zoo::time<-' when loading 'FEMSdevBase' See 'd:/RCompile/CRANincoming/R-devel/FEMSdevBase.Rcheck/00install.out' for details. * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code 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 ... WARNING as.timeSeries: function(x, ...) as.timeSeries.RiskFactor: function(x) See section 'Generic functions and methods' in the 'Writing R Extensions' manual. * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [17s] NOTE showNMVreports: warning in Prune(copy, prune = function(node) node$nodeID <= nrow(table)): partial argument match of 'prune' to 'pruneFun' addCapitalisationLayer: no visible binding for global variable 'type' addDividendLayer: no visible binding for global variable 'type' addInterestAccrualsLayer: no visible binding for global variable 'type' addInterestPaymentLayer: no visible binding for global variable 'type' addMarginingLayer: no visible binding for global variable 'type' addNotionalPrincipalPaymentLayer: no visible binding for global variable 'type' addPrincipalRedemptionLayer: no visible binding for global variable 'type' addRateResetLayer: no visible binding for global variable 'type' contractPlot: no visible binding for global variable 'optList' contractPlot: no visible binding for global variable 'Level' contractPlot: no visible binding for global variable 'Type' findTwoDimensionalPrepaymentModel: no visible binding for global variable 'findResponse' generateContractCsvData: no visible binding for global variable 'csvFilepath' initializeBasicCTGraphic: no visible binding for global variable 'type' initializeCombinedCTGraphic: no visible binding for global variable 'type' interpolateYieldCurve: no visible global function definition for 'approx' simulatePortfolio: no visible binding for global variable 'type' simulatePortfolio: no visible binding for global variable 'value' simulatePortfolio: no visible binding for global variable 'cumValue' eventsdf2incomeReports,ContractAnalysis: no visible binding for global variable 'periodIndex' eventsdf2incomeReports,ContractAnalysis: no visible binding for global variable 'type' liquidityByPeriod2vec,ContractAnalysis: no visible binding for global variable 'periodIndex' liquidityReports,ScenarioAnalysis-Timeline: no visible binding for global variable 'periodIndex' Undefined global functions or variables: Level Type approx csvFilepath cumValue findResponse optList periodIndex type value Consider adding importFrom("stats", "approx") to your NAMESPACE file. Found if() conditions comparing class() to string: File 'FEMSdevBase/R/ContractPlot.R': if (!class(rawdata$nominalValue) == "NULL") ... File 'FEMSdevBase/R/ContractPlot.R': if (!class(rawdata$NominalValue) == "NULL") ... File 'FEMSdevBase/R/ContractPlot.R': if (!class(rawdata$NominalValue) == "NULL") ... File 'FEMSdevBase/R/ContractPlot.R': if (!class(rawdata$NominalValue) == "NULL") ... Use inherits() (or maybe is()) instead. * checking Rd files ... NOTE checkRd: (-1) YieldCurve-character-character-numeric-character-character-method.Rd:35: Lost braces; missing escapes or markup? 35 | compoundingFrequency with values in { "NONE", "YEARLY","CONTINUOUS"}. | ^ checkRd: (-1) events2dfByPeriod-ContractAnalysis-ANY-method.Rd:24: Lost braces 24 | > unlist(lapply(cfla$cashflowEventsLoL,function(x){return(x$status)})) | ^ checkRd: (-1) events2dfByPeriod-FinancialModel-ANY-method.Rd:26: Lost braces 26 | function(x){return(x$status)})) | ^ checkRd: (-1) events2dfByPeriod-ScenarioAnalysis-Timeline-method.Rd:16: Lost braces 16 | > unlist(lapply(cfla$cashflowEventsLoL,function(x){return(x$status)})) | ^ * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'deleteReferenceIndex.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'deleteScenario.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'deleteTwoDimensionalPrepaymentModel.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'findAllReferenceIndexes.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'findAllScenarios.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'findAllTwoDimensionalPrepaymentModels.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'findReferenceIndex.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'findScenario.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'findTwoDimensionalPrepaymentModel.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'putReferenceIndex.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'putScenario.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) Rd file 'putTwoDimensionalPrepaymentModel.Rd': \examples lines wider than 100 characters: rfx1 <- sampleReferenceIndex("./inst/extdata/UST5Y_fallingRates.csv","UST5Y_fallingRates", "Ust_5Yf",100) These lines will be truncated in the PDF manual. * checking Rd cross-references ... WARNING Missing link(s) in Rd file 'cashflowPlot-EventSeries-method.Rd': 'EventSeries' Missing link(s) in Rd file 'cashflowPlot.Rd': 'EventSeries' See section 'Cross-references' in the 'Writing R Extensions' manual. Found the following Rd file(s) with Rd \link{} targets missing package anchors: cashflowPlot-EventSeries-method.Rd: EventSeries cashflowPlot.Rd: EventSeries Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * checking for missing documentation entries ... WARNING Undocumented code objects: 'AccountsTree' 'ScenarioAnalysis' 'YieldCurve' 'accountLQreports' 'accountNMVreports' 'accountNPVreports' 'events2dfByPeriod' 'eventsdf2incomeReports' 'getForwardRates' 'liquidityByPeriod2vec' 'liquidityReports' 'lv2LiquidityReports' 'netPresentValueReports' 'nominalValueReports' Undocumented S4 methods: generic 'AccountsTree' and siglist 'ANY' generic 'Portfolio' and siglist 'missing,list' generic 'ScenarioAnalysis' and siglist 'ANY,ANY,ANY,ANY' generic 'YieldCurve' and siglist 'ANY,ANY,ANY,ANY,ANY' generic 'accountLQreports' and siglist 'Node,numeric,character,list' generic 'accountLQreports' and siglist 'ScenarioAnalysis,numeric,character,ANY' generic 'accountNMVreports' and siglist 'Node,numeric,character,list' generic 'accountNMVreports' and siglist 'ScenarioAnalysis,numeric,character,ANY' generic 'accountNPVreports' and siglist 'Node,numeric,character,list' generic 'accountNPVreports' and siglist 'ScenarioAnalysis,numeric,character,ANY' generic 'generateEvents' and siglist 'ContractAnalysis,missing,missing,missing,character,character,list' generic 'generateEvents' and siglist 'ContractAnalysis,missing,missing,missing,character,missing,missing' generic 'generateEvents' and siglist 'FinancialModel,missing,missing,missing,character,character,list' generic 'generateEvents' and siglist 'FinancialModel,missing,missing,missing,character,missing,missing' generic 'generateEvents' and siglist 'ScenarioAnalysis,Portfolio,character,missing,character,character,list' generic 'generateEvents' and siglist 'ScenarioAnalysis,Portfolio,character,missing,character,missing,missing' generic 'liquidityReports' and siglist 'ScenarioAnalysis,Timeline' generic 'netPresentValueReports' and siglist 'ScenarioAnalysis,Timeline' generic 'nominalValueReports' and siglist 'ContractAnalysis,missing,missing,character' generic 'nominalValueReports' and siglist 'ScenarioAnalysis,Portfolio,Timeline,character' All user-level objects in a package (including S4 classes and methods) should have documentation entries. See chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking for code/documentation mismatches ... WARNING Functions or methods with usage in Rd file 'loan.Rd' but not in code: '{' * checking Rd \usage sections ... WARNING Undocumented arguments in Rd file 'Portfolio.Rd' 'contractList' Documented arguments not in \usage in Rd file 'Portfolio.Rd': '...' Undocumented arguments in Rd file 'ScenarioAnalysis-character-list-YieldCurve-AccountsTree-method.Rd' 'accounts' Documented arguments not in \usage in Rd file 'ScenarioAnalysis-character-list-YieldCurve-AccountsTree-method.Rd': 'accountsTree' Undocumented arguments in Rd file 'events2dfByPeriod-ScenarioAnalysis-Timeline-method.Rd' 'host' 'tl' Undocumented arguments in Rd file 'extendedEventsDF.Rd' 'fm' Documented arguments not in \usage in Rd file 'extendedEventsDF.Rd': 'Financial' Undocumented arguments in Rd file 'getLQreports.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'getLQreports.Rd': 'Financial' Undocumented arguments in Rd file 'getNMVreports.Rd' 'fm' Documented arguments not in \usage in Rd file 'getNMVreports.Rd': 'Financial' Undocumented arguments in Rd file 'getNPVreports.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'getNPVreports.Rd': 'Financial' Undocumented arguments in Rd file 'initContractAnalysis.Rd' 'yieldCurve' 'portfolio' Undocumented arguments in Rd file 'loan.Rd' 'ctr1 <- loan(ctype, start, maturity, nominal, coupon, paymentFreq, role, rateResetFreq, rateResetSpread)' Objects in \usage without \alias in Rd file 'loan.Rd': '{' Undocumented arguments in Rd file 'nominalValueReports-ScenarioAnalysis-Portfolio-Timeline-ANY-method.Rd' 'ptf' 'tl' Undocumented arguments in Rd file 'showContractLQs.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'showContractLQs.Rd': 'Financial' Undocumented arguments in Rd file 'showContractNMVs.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'showContractNMVs.Rd': 'Financial' Undocumented arguments in Rd file 'showContractNPVs.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'showContractNPVs.Rd': 'Financial' Undocumented arguments in Rd file 'showLQreports.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'showLQreports.Rd': 'Financial' Undocumented arguments in Rd file 'showNMVreports.Rd' 'fm' Documented arguments not in \usage in Rd file 'showNMVreports.Rd': 'Financial' Undocumented arguments in Rd file 'showNPVreports.Rd' 'fm' 'scale' 'rounding' Documented arguments not in \usage in Rd file 'showNPVreports.Rd': 'Financial' Undocumented arguments in Rd file 'yearFraction-character-character-numeric-method.Rd' 'Tto' Documented arguments not in \usage in Rd file 'yearFraction-character-character-numeric-method.Rd': 'Tto.' 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 chapter 'Writing R documentation files' in the 'Writing R Extensions' manual. * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... [13s] ERROR Running examples in 'FEMSdevBase-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: csvx2ptf > ### Title: csvx2ptf() > ### Aliases: csvx2ptf > > ### ** Examples > > { + datadir <- "~/mydata" + installSampleData(datadir) + fname <- "~/mydata/testptf2.csv" + ptf1 <- csvx2ptf(fname) + } Warning in file.create(to[okay]) : cannot create file '~/mydata/BondPortfolio.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/AnnuityPortfolio.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/RiskFactors.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/UST5Y_fallingRates.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/UST5Y_recoveringRates.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/UST5Y_risingRates.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/UST5Y_steadyRates.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/testptf1.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/testptf2.csv', reason 'No such file or directory' Warning in file.create(to[okay]) : cannot create file '~/mydata/fmTestPortfolio.csv', reason 'No such file or directory' Error in TAF::dos2unix(fnameIn) : file is not a standard text file Calls: csvx2ptf -> Execution halted * checking PDF version of manual ... [14s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 1 ERROR, 6 WARNINGs, 6 NOTEs