* using log directory ‘/srv/hornik/tmp/CRAN/INFOSET.Rcheck’ * using R Under development (unstable) (2024-07-31 r86945) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.8 (3) Debian flang-new version 18.1.8 (3) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘INFOSET/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘INFOSET’ version ‘4.0.5’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Gloria Polinesi ’ New submission No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Gloria", family = "Polinesi", role = c("aut", "cre"), email = "g.polinesi@staff.univpm.it") as necessary. * 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 ‘INFOSET’ can be installed ... [1s/1s] 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 code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [2s/2s] NOTE infoset: no visible global function definition for ‘median’ tail_mixture: no visible global function definition for ‘normalmixEM’ tail_mixture: no visible global function definition for ‘dlnorm’ tail_mixture: no visible global function definition for ‘plnorm’ tail_mixture: no visible global function definition for ‘density’ tail_mixture: no visible global function definition for ‘hist’ tail_mixture: no visible global function definition for ‘lines’ tail_mixture: no visible global function definition for ‘points’ Undefined global functions or variables: density dlnorm hist lines median normalmixEM plnorm points Consider adding importFrom("graphics", "hist", "lines", "points") importFrom("stats", "density", "dlnorm", "median", "plnorm") to your NAMESPACE file. * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'infoset.Rd': \examples lines wider than 100 characters: #output<-matrix(unlist(result),12,ncol=ncol(gross.ret)) # output contains the leftmost information set #colnames(output)<-c("ch_1","ch_2","priori_1","priori_2","first_1","first_2","second_1","second_2","mean_1","mean_2","dev_1", "dev_2") # labels_colors(dend_SIMS) <- rainbow_hcl(5)[sort_levels_values(as.numeric(group_label)[order.dendrogram(dend_SIMS)])] # labels(dend_SIMS) <- paste(as.character(group_label)[order.dendrogram(dend_SIMS)],'(', labels(dend_SIMS), ')', sep = '') # plot(dend_SIMS, main = 'Complete linkage (the labels give the true ETF class)', horiz = TRUE, nodePar = list(cex = 0.007)) # 'corporate bond', 'commodities', 'aggregate bond'), fill = c('#BDAB66', '#65BC8C', '#C29DDE', # sol[[t]] <- solve.QP(Dmat = COV_ret[[t]], dvec = 0*r[[t]], Amat = t(B[[t]]), bvec = f[[t]], meq = 2) # sol[[t]] <- solve.QP(Dmat = COV_edc[[t]], dvec = 0*r[[t]], Amat = t(B[[t]]), bvec = f[[t]], meq = 2) # sol[[t]] <- solve.QP(Dmat = COV_edc[[t]], dvec = lambda*LR_cp[[t]], Amat = t(B[[t]]), bvec = f[[t]], meq = 2) # Pvalue_mod_EDC[[t]] = (t(w_edc[[t]])%*%t(W[[t+1]][(1289-125):1289, ]) - Pvalue_edc[t])/Pvalue_edc[t] # boxplot(sample_M, ylim = c(-0.20, 0.15), outline = F, main = expression(paste('Classical Markowitz'))) # boxplot(sample_C, ylim = c(-0.20,0.15), outline = F, main = expression(paste('Combined Markowitz'))) #'# boxplot(sample_mod_EDC, ylim = c(-0.20, 0.15), outline = F, main = expression(paste('Combined EDC'))) # legend('bottomright', legend = c('Classical Markowitz', 'Combined Markowitz'), col=c('red','black'),lty = c(2, 3)) # matplot(date_1, cbind(sample_EDC, sample_mod_EDC), type = 'l', col = c('brown', 'blue'), lty = c(3,1), # legend('bottomright', legend = c('Classical EDC', 'Combined EDC'), col = c('brown','blue'), lty = c(3, 1)) These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... WARNING Data codoc mismatches from Rd file 'sample.data.Rd': Variables in data frame 'sample.data' Code: ETF_1 ETF_10 ETF_11 ETF_12 ETF_13 ETF_14 ETF_15 ETF_16 ETF_17 ETF_18 ETF_19 ETF_2 ETF_20 ETF_21 ETF_22 ETF_23 ETF_24 ETF_25 ETF_26 ETF_27 ETF_28 ETF_29 ETF_3 ETF_30 ETF_31 ETF_32 ETF_33 ETF_34 ETF_35 ETF_36 ETF_37 ETF_38 ETF_39 ETF_4 ETF_40 ETF_41 ETF_42 ETF_43 ETF_44 ETF_5 ETF_6 ETF_7 ETF_8 ETF_9 Docs: ETF_1 * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [0s/0s] ERROR Running examples in ‘INFOSET-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: infoset > ### Title: Procedure to find the most-left distribution set. > ### Aliases: infoset > > ### ** Examples > > > gross.ret<-as.data.frame(lapply(sample.data, g_ret)) > infoset(gross.ret$ETF_1) Error in normalmixEM(log(y), k = 2, epsilon = 1e-06) : could not find function "normalmixEM" Calls: infoset -> tail_mixture Execution halted * checking PDF version of manual ... [3s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 WARNING, 3 NOTEs