* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/datanugget.Rcheck’ * using R Under development (unstable) (2023-03-24 r84037) * using platform: x86_64-pc-linux-gnu (64-bit) * R was compiled by gcc (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) GNU Fortran (GCC) 11.3.1 20220421 (Red Hat 11.3.1-2) * running under: Fedora 34 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘datanugget/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘datanugget’ version ‘1.0.0’ * package encoding: UTF-8 * 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 whether package ‘datanugget’ can be installed ... OK * checking package directory ... 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 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 ... OK * 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 ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking LazyData ... NOTE 'LazyData' is specified without a 'data' directory * checking examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘datanugget-Ex.R’ failed The error most likely occurred in: > ### Name: WKmeans > ### Title: Weighted K-means Clustering of Data Nuggets > ### Aliases: WKmeans > > ### ** Examples > > > ## small example > X = cbind.data.frame(rnorm(10^4), + rnorm(10^4), + rnorm(10^4)) > > suppressMessages({ + + my.DN = create.DN(x = X, + RS.num = 10^3, + DN.num1 = 500, + DN.num2 = 250, + no.cores = 0, + make.pbs = FALSE) + + my.DN2 = refine.DN(x = X, + DN = my.DN, + scale.tol = .9, + shape.tol = .9, + min.nugget.size = 2, + max.nuggets = 1000, + scale.max.splits = 5, + shape.max.splits = 5, + no.cores = 0, + make.pbs = FALSE) + + + DN.clus = WKmeans(dataset = my.DN2$`Data Nuggets`[, c("Center1", + "Center2", + "Center3")], + k = 3, + obs.weights = my.DN2$`Data Nuggets`[, "Weight"], + num.init = 1, + max.iterations = 3, + reassign.prop = .33, + print.progress = FALSE) + + }) > > DN.clus$`Cluster Assignments` 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 1 1 2 3 2 3 2 2 2 1 2 2 2 1 2 2 3 2 2 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 2 2 2 1 2 2 2 1 1 2 2 3 2 2 1 2 3 2 1 1 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 2 3 2 2 2 2 1 2 3 1 3 2 3 2 1 3 2 2 1 2 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 2 1 3 2 3 2 2 3 2 2 2 2 1 1 2 2 3 2 2 2 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 2 2 3 1 2 2 1 3 1 2 2 1 1 3 2 3 1 3 1 2 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 2 2 3 3 2 1 2 1 2 1 3 1 2 2 3 3 1 2 2 2 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 1 2 3 2 2 3 1 1 2 3 2 3 2 2 2 2 1 1 1 1 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 2 3 3 2 2 1 3 3 2 2 2 2 2 2 2 1 2 1 2 2 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 2 2 1 2 2 2 2 2 2 1 2 3 2 2 1 2 1 3 2 2 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 2 2 3 1 2 2 1 1 2 2 3 1 2 2 2 2 1 2 2 1 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 3 2 2 2 2 3 3 2 3 3 2 3 3 1 2 2 3 3 2 2 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 1 2 2 1 1 2 2 1 3 2 3 2 1 2 3 2 3 3 2 3 241 242 243 244 245 246 247 248 249 250 1 2 3 1 3 3 1 2 2 1 > DN.clus$`Cluster Centers` Center1 Center2 Center3 1 -0.44964387 0.7163064 1.1005982 2 0.21571056 0.2498889 -0.6291862 3 0.04148005 -1.3078822 0.5947248 > DN.clus$`Weighted WCSS` [[1]] 1 2 3 3778.028 14701.987 3076.471 [[2]] [1] 21556.49 > > ## No test: > > ## large example > X = cbind.data.frame(rnorm(10^6), + rnorm(10^6), + rnorm(10^6), + rnorm(10^6), + rnorm(10^6)) > > my.DN = create.DN(x = X, + RS.num = 10^5, + DN.num1 = 10^4, + DN.num2 = 2000) Error in .check_ncores(length(names)) : 31 simultaneous processes spawned Calls: create.DN -> makeCluster -> makePSOCKcluster -> .check_ncores Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/datanugget.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:34.87, 29.86 + 4.66