CRAN Package Check Results for Package LSDinterface

Last updated on 2026-06-22 01:51:17 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.5 3.04 28.94 31.98 OK
r-devel-linux-x86_64-debian-gcc 1.2.5 2.07 22.44 24.51 ERROR
r-devel-linux-x86_64-fedora-clang 1.2.5 48.49 OK
r-devel-linux-x86_64-fedora-gcc 1.2.5 46.59 OK
r-devel-windows-x86_64 1.2.5 5.00 49.00 54.00 OK
r-patched-linux-x86_64 1.2.5 3.22 26.85 30.07 OK
r-release-linux-x86_64 1.2.5 2.50 26.56 29.06 OK
r-release-macos-arm64 1.2.5 1.00 10.00 11.00 OK
r-release-macos-x86_64 1.2.5 2.00 32.00 34.00 OK
r-release-windows-x86_64 1.2.5 4.00 51.00 55.00 OK
r-oldrel-macos-arm64 1.2.5 1.00 12.00 13.00 OK
r-oldrel-macos-x86_64 1.2.5 2.00 32.00 34.00 OK
r-oldrel-windows-x86_64 1.2.5 5.00 55.00 60.00 OK

Check Details

Version: 1.2.5
Check: examples
Result: ERROR Running examples in ‘LSDinterface-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: read.3d.lsd > ### Title: Read one instance of LSD variables (time series) from multiple > ### LSD results files into a 3D array > ### Aliases: read.3d.lsd > ### Keywords: interface file datasets database > > ### ** Examples > > # get the list of file names of example LSD results > files <- list.files.lsd( system.file( "extdata", package = "LSDinterface" ) ) > > # read first instance of all variables from files (one level each), > # pasting the directory where the example files are (not required if in working dir) > inst1Array <- read.3d.lsd( files ) > print( inst1Array[ 5 : 10, 1 : 7, 1 ] ) GDP Creal Ir Am G Def Deb 5 144217 144039 0 1.01288 43563.1 36909.5 176169 6 142174 143096 0 1.01295 44389.3 37586.6 213756 7 142059 143048 0 1.01290 44436.0 37560.6 251316 8 142994 143479 0 1.01291 44060.6 37154.1 288470 9 143953 143921 0 1.01293 43678.4 36741.0 325212 10 149207 158313 4800 1.06524 28077.0 19285.3 344497 > print( inst1Array[ 5 : 10, 1 : 7, 2 ] ) GDP Creal Ir Am G Def Deb 5 205459 193031 1894 1.19304 28449.7 18661.70 129383 6 241479 234479 6629 1.20958 0.0 -11007.50 118376 7 288524 246075 1800 1.34235 10443.6 -1086.73 117289 8 243209 229686 2276 1.35719 28812.9 17090.70 134380 9 231582 238297 5339 1.37823 25263.8 10334.80 144715 10 281105 262832 4511 1.47249 16346.7 -5168.78 139546 > print( inst1Array[ 5 : 10, 1 : 7, 3 ] ) GDP Creal Ir Am G Def Deb 5 250935 246425 4510 1.19865 2.42868e-10 -9938.76 85142.0 6 282247 260655 3272 1.29306 3.75949e+03 -8459.68 76682.3 7 303350 262511 1974 1.37372 7.61877e+03 -14106.60 62575.7 8 264017 273720 7130 1.33948 1.11946e-10 -12136.00 50439.8 9 304904 268322 2643 1.50057 1.61858e+04 -1768.21 48671.6 10 305890 272745 3140 1.51026 1.57738e+04 -31140.90 17530.7 > > # read first instance of a set of variables named _A1p and _growth1 > ab1Array <- read.3d.lsd( files, c( "_A1p", "_growth1" ) ) > print( ab1Array[ 20 : 25, , 1 ] ) X_A1p X_growth1 20 1.14939 -0.195745 21 1.21002 0.179744 22 1.21002 -0.112555 23 1.28702 -0.524151 24 1.35346 1.013820 25 1.41205 -1.719230 > print( ab1Array[ 20 : 25, , 2 ] ) X_A1p X_growth1 20 1.91852 NA 21 1.91852 0.934309 22 1.91852 2.717530 23 2.06289 -1.270610 24 2.06289 0.793031 25 2.11699 -0.273837 > print( ab1Array[ 20 : 25, , 3 ] ) X_A1p X_growth1 20 1.48581 -0.700694 21 1.49959 1.430750 22 1.83989 -4.234110 23 1.83989 3.056360 24 2.06721 0.644945 25 2.06721 -1.829500 > > # read instance 2 of all variables, skipping the initial 20 time steps > # and keeping up to 30 time steps (from t = 21 up to t = 30) > inst2Array21_30 <- read.3d.lsd( files, skip = 20, nrows = 30, instance = 2 ) > print( inst2Array21_30[ , , "Sim1_1" ] ) # use the file name to retrieve X_A1p X_growth1 21 1.38510 NA 22 1.21002 NA 23 1.28702 0.405465 24 1.35346 -1.609440 25 1.41205 -0.646627 26 1.41205 1.493930 27 1.41205 -1.326870 28 1.41205 2.126400 29 1.35264 -1.513290 30 1.35264 1.756420 31 1.61918 -1.408110 32 1.64366 0.984499 33 1.56246 NA 34 1.65734 NA 35 1.72247 NA 36 1.72247 NA 37 1.78119 -2.965270 38 1.78119 3.135490 39 1.89250 -0.482252 40 2.09943 -2.876390 41 2.19748 3.135490 42 2.25242 1.446920 43 2.43990 -1.943360 44 2.49138 0.710847 45 2.60173 0.887819 46 2.47143 -0.447868 47 2.71046 0.695968 48 2.71046 -0.487623 49 2.92397 -0.789375 50 3.13114 -0.405465 > print( inst2Array21_30[ , , "Sim1_2" ] ) X_A1p X_growth1 21 1.91852 -1.7595000 22 1.91852 1.8075100 23 2.10318 0.0458095 24 2.11699 0.0650048 25 2.11699 -0.4519850 26 2.29247 0.1986710 27 2.41508 0.4999560 28 2.49581 0.5173620 29 2.57488 -2.1433300 30 2.71836 0.1053610 31 2.83847 1.3480700 32 3.01807 -0.3364720 33 3.01807 0.0870114 34 3.01807 -0.5248120 35 2.96236 0.6201220 36 3.06116 -1.8382800 37 3.06116 NA 38 3.01993 NA 39 3.23358 NA 40 3.23358 NA 41 3.24266 NA 42 3.46812 NA 43 3.43725 NA 44 3.65473 NA 45 3.14856 NA 46 3.29654 NA 47 3.29654 NA 48 3.29654 NA 49 1.01578 NA 50 4.69405 NA > > # read instance 5 of all variables in second-level objects, using up to 2 cores > inst5array2 <- read.3d.lsd( files, instance = 2, posit = "*_*", + posit.match = "glob", nnodes = 2 ) Error in serverSocket(port = port) : creation of server socket failed: port 11308 cannot be opened Calls: read.3d.lsd ... run.parallel -> <Anonymous> -> makePSOCKcluster -> serverSocket Execution halted Flavor: r-devel-linux-x86_64-debian-gcc