Test rapi06.malC (id f687d6376a82) (out)
rapi06.stable.err.FILTERED 2019-01-28 19:26:48.135009343 +0100rapi06.test.err.FILTERED 2019-01-28 19:26:48.137009360 +0100
1 Statistics about stderr of test 'rapi06` in directory 'monetdb5/extras/rapi`: 1 1 Statistics about stderr of test 'rapi06` in directory 'monetdb5/extras/rapi`: 1
2 1 lines, 8 words, 67 chars in lines not matching '^$|^(\| |)#|^=` 2 ! 2 12 lines, 59 words, 739 chars in lines not matching '^$|^(\| |)#|^=` 2
3 = 1 lines, 8 words, 67 chars in lines not matching '^$|^(\| |)#` 3 ! 3 = 12 lines, 59 words, 739 chars in lines not matching '^$|^(\| |)#` 3
4 # 17 lines, 64 words, 633 chars in all lines 4 ! 4 # 29 lines, 120 words, 1532 chars in all lines 4
5 5 5 5
..................
# 17 lines, 64 words,
8 8 8 8
9 # 16:45:17 > 9 ! 9 # 19:26:46 > 9
10 # 16:45:17 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=33997" "--set" "mapi_usock=/var/tmp/mtest-95437/.s.monetdb.33997" "--set" "monet_prompt=" "--forcemito" "--set" "mal_listing=2" "--dbpath=/Users/hannes/monetdb-rint-install/var/MonetDB/mTests_monetdb5_extras_rapi" "--set" "mal_listing=2" "--set" "embedded_r=yes" 10 ! 10 # 19:26:46 > "mserver5" "--debug=10" "--set" "gdk_nr_threads=0" "--set" "mapi_open=true" "--set" "mapi_port=32208" "--set" "mapi_usock=/var/tmp/mtest-32365/.s.monetdb.32208" "--set" "monet_prompt=" "--forcemito" "--set" "gdk_vm_maxsize=8589934592" "--dbpath=/export/scratch1/home/monet/testing/f687d6376a82-2-1-1/tests/monetdb5/dbfarm/mTests_monetdb5_extras_rapi" "--dbextra=/export/scratch1/home/monet/testing/f687d6376a82-2-1-1/tests/monetdb5/dbfarm/mTests_monetdb5_extras_rapi_transient" "--set" "embedded_r=yes" "--set" "embedded_c=true" 10
11 # 16:45:17 > 11 ! 11 # 19:26:46 > 11
12 12 ! 12 12
13 13 ! 13 13
14 # 16:45:18 > 14 ! 14 # 19:26:47 > 14
15 # 16:45:18 > "mclient" "-lmal" "-ftest" "-Eutf-8" "-i" "-e" "--host=/var/tmp/mtest-95437" "--port=33997" 15 ! 15 # 19:26:47 > "mclient" "-lmal" "-ftest" "-tnone" "-Eutf-8" "--host=/var/tmp/mtest-32365" "--port=32208" 15
16 # 16:45:18 > 16 ! 16 # 19:26:47 > 16
17 17 ! 17 17
18 18 ! 18 #~ MAPI = (monetdb) /var/tmp/mtest-32365/.s.monetdb.32208 18
19 # 16:45:18 > 19 ! 19 QUERY = ts:= bat.new(:int); 19
20 # 16:45:18 > "Done." 20 ! 20 bat.append(ts,1387360138); 20
21 # 16:45:18 > 21 ! 21 bat.append(ts,451665720); 21
+ 22 bat.append(ts,514382400); 22
+ 23 bat.append(ts,1000209600); 23
+ 24 bat.append(ts,1326272400); 24
+ 25 25
+ 26 r:bat[:int] := rapi.eval(nil:ptr,"library(moonsun);options(latitude=arg2,longitude=arg3);angles <- sapply(arg1,FUN=function(x){ts <- as.POSIXlt(x,origin = \"1970-01-01\",tz=\"UTC\");moon(jd(epoch=ts)+ts$hour/24)$angle});return(arg1[angles > 0])",ts,52.3,4.8); 26
+ 27 27
+ 28 io.print(r); 28
+ 29 ERROR = !MALException:rapi.eval:Error running R expression: Error in .library.original(package, help, pos, lib.loc, character.only = T, : there is no package called ‘moonsun’ Calls: as.data.frame -> <Anonymous> -> library -> .library.original 29
+ 30 30
+ 31 # 19:26:48 > 31
+ 32 # 19:26:48 > "Done." 32
+ 33 # 19:26:48 > 33
22 22 34 34