@@ -447,7 +447,7 @@ Class "OptionalFunction", by class "standardGeneric", distance 4
447
447
Class "PossibleMethod", by class "standardGeneric", distance 4
448
448
Class "optionalMethod", by class "standardGeneric", distance 5
449
449
450
- ##com.oracle.truffle.r.test.S4.TestS4.testConversions#Ignored.NewRVersionMigration#
450
+ ##com.oracle.truffle.r.test.S4.TestS4.testConversions#
451
451
#{ asS4(7:42) }
452
452
[1] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
453
453
[26] 32 33 34 35 36 37 38 39 40 41 42
@@ -539,7 +539,7 @@ Use showMethods("gen") for currently available ones.
539
539
[1] 42
540
540
[1] 42
541
541
542
- ##com.oracle.truffle.r.test.S4.TestS4.testMethods#Ignored.NewRVersionMigration# Output.IgnoreWarningMessage#
542
+ ##com.oracle.truffle.r.test.S4.TestS4.testMethods#Output.IgnoreWarningMessage#
543
543
#{ setClass("foo"); setMethod("diag<-", "foo", function(x, value) 42); removeMethod("diag<-", "foo"); removeGeneric("diag<-"); removeClass("foo") }
544
544
Creating a generic function for ‘diag<-’ from package ‘base’ in the global environment
545
545
[1] TRUE
@@ -560,7 +560,7 @@ Note: method with signature ‘A2#A1’ chosen for function ‘foo’,
560
560
#{ setClass('A1', representation(a='numeric')); setMethod('length', 'A1', function(x) x@a); obj <- new('A1'); obj@a <- 10; length(obj) }
561
561
[1] 10
562
562
563
- ##com.oracle.truffle.r.test.S4.TestS4.testMethods#Ignored.NewRVersionMigration#
563
+ ##com.oracle.truffle.r.test.S4.TestS4.testMethods#
564
564
#{ setClass('A2', representation(a = 'numeric')); setMethod('rep', 'A2', function(x, a, b, c) { c(x@a, a, b, c) }); setMethod('ifelse', c(yes = 'A2'), function(test, yes, no) print(test)) }
565
565
Creating a generic function for ‘ifelse’ from package ‘base’ in the global environment
566
566
@@ -31879,19 +31879,19 @@ logical(0)
31879
31879
# file.exists('com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/simple/data/tree1/filedoesnotexist')
31880
31880
[1] FALSE
31881
31881
31882
- ##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#
31882
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#Ignored.ImplementationError#
31883
31883
# file.exists('com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/simple/data/tree1/filedoesnotexist/..')
31884
31884
[1] FALSE
31885
31885
31886
31886
##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#
31887
31887
# file.exists('com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/simple/data/tree1/filedoesnotexist/../aa')
31888
31888
[1] FALSE
31889
31889
31890
- ##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#
31890
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#Ignored.ImplementationError#
31891
31891
# file.exists('com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/simple/data/tree1/filedoesnotexist/../aa/..')
31892
31892
[1] FALSE
31893
31893
31894
- ##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#
31894
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_fileexists.testFileDoesNotExist#Ignored.ImplementationError#
31895
31895
# file.exists('com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/simple/data/tree1/filedoesnotexist/../dummy.txt')
31896
31896
[1] FALSE
31897
31897
@@ -57337,10 +57337,91 @@ numeric(0)
57337
57337
#argv <- list(structure(c('Tukey', 'Venables', 'Tierney', 'Ripley', 'Ripley', 'McNeil', 'R Core'), class = 'AsIs'), 7L, 'min'); .Internal(rank(argv[[1]], argv[[2]], argv[[3]]))
57338
57338
[1] 6 7 5 3 3 1 2
57339
57339
57340
- ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#Ignored.Unimplemented#
57340
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57341
57341
#{rapply(expression('a+b'), function(x) { x })}
57342
57342
[1] "a+b"
57343
57343
57344
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57345
+ #{rapply(expression('a+b'), function(x)x)}
57346
+ [1] "a+b"
57347
+
57348
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57349
+ #{rapply(expression(a=1, 2, b=3), function(x)x)}
57350
+ a b
57351
+ 1 2 3
57352
+
57353
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57354
+ #{rapply(expression(a=1, 2, b=list(1,2,3)), function(x)x)}
57355
+ $a
57356
+ [1] 1
57357
+
57358
+ [[2]]
57359
+ [1] 2
57360
+
57361
+ $b
57362
+ list(1, 2, 3)
57363
+
57364
+
57365
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57366
+ #{rapply(expression(a=1, 2, b=list(1,2,3), c=expression('a+b')), function(x)x)}
57367
+ $a
57368
+ [1] 1
57369
+
57370
+ [[2]]
57371
+ [1] 2
57372
+
57373
+ $b
57374
+ list(1, 2, 3)
57375
+
57376
+ $c
57377
+ expression("a+b")
57378
+
57379
+
57380
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57381
+ #{rapply(expression(a=1, 2, b=list(1,2,3), list(1,2,3), c=expression('a+b')), function(x)x)}
57382
+ $a
57383
+ [1] 1
57384
+
57385
+ [[2]]
57386
+ [1] 2
57387
+
57388
+ $b
57389
+ list(1, 2, 3)
57390
+
57391
+ [[4]]
57392
+ list(1, 2, 3)
57393
+
57394
+ $c
57395
+ expression("a+b")
57396
+
57397
+
57398
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57399
+ #{rapply(expression(a=1, 2, b=list(1,2,3), list(1,2,3), c=expression('a+b'), expression('a+b')), function(x)x)}
57400
+ $a
57401
+ [1] 1
57402
+
57403
+ [[2]]
57404
+ [1] 2
57405
+
57406
+ $b
57407
+ list(1, 2, 3)
57408
+
57409
+ [[4]]
57410
+ list(1, 2, 3)
57411
+
57412
+ $c
57413
+ expression("a+b")
57414
+
57415
+ [[6]]
57416
+ expression("a+b")
57417
+
57418
+
57419
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyExpression#
57420
+ #{rapply(expression(list(1,2,3)), function(x)x)}
57421
+ [[1]]
57422
+ list(1, 2, 3)
57423
+
57424
+
57344
57425
##com.oracle.truffle.r.test.builtins.TestBuiltin_rapply.testLapplyList#
57345
57426
#l2 = list(a = 1:10, b = 11:20,c=c('d','a','t','a')); rapply(l2, mean, how = "list", classes = "integer")
57346
57427
$a
@@ -74337,6 +74418,19 @@ integer(0)
74337
74418
[41] 26163.27 26367.35 26571.43 26775.51 26979.59 27183.67 27387.76 27591.84
74338
74419
[49] 27795.92 28000.00
74339
74420
74421
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_seq_along.testWithNonStandardLength#
74422
+ #seq_along()
74423
+ Error in seq_along() : 0 arguments passed to 'seq_along' which requires 1
74424
+
74425
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_seq_along.testWithNonStandardLength#
74426
+ #{ assign('length.myclass', function(...) 42, envir=.__S3MethodsTable__.); x <- 1; class(x) <- 'myclass'; res <- seq_along(x); rm('length.myclass', envir=.__S3MethodsTable__.); res }
74427
+ [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
74428
+ [26] 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
74429
+
74430
+ ##com.oracle.truffle.r.test.builtins.TestBuiltin_seq_along.testWithNonStandardLength#
74431
+ #{ length <- function(x) 42; seq_along(c(1,2,3)) }
74432
+ [1] 1 2 3
74433
+
74340
74434
##com.oracle.truffle.r.test.builtins.TestBuiltin_seq_along.testWithNonStandardLength#
74341
74435
#{ x <- c(1,2,3); class(x) <- 'myclass'; length.myclass <- function(w) '48'; seq_along(x) }
74342
74436
[1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
0 commit comments