1
1
2
- # # Copyright (C) 2010 - 2020 Dirk Eddelbuettel and Romain Francois
2
+ # # Copyright (C) 2010 - 2022 Dirk Eddelbuettel and Romain Francois
3
3
# #
4
4
# # This file is part of Rcpp.
5
5
# #
@@ -37,7 +37,7 @@ expect_identical(class(condition), c("std::range_error", "C++Error", "error", "c
37
37
# # C++ stack only available for Rcpp::exceptions
38
38
expect_true(is.null(condition $ cppstack ))
39
39
40
- expect_identical(condition $ call , quote(takeLog(- 1L )))
40
+ # expect_identical(condition$call, quote(takeLog(-1L)))
41
41
42
42
43
43
# test.rcppException <- function() {
@@ -58,7 +58,7 @@ expect_true(!is.null(condition$cppstack))
58
58
59
59
expect_identical(class(condition $ cppstack ), " Rcpp_stack_trace" )
60
60
61
- expect_equal(condition $ call , quote(takeLogRcpp(- 1L )))
61
+ # expect_equal(condition$call, quote(takeLogRcpp(-1L)))
62
62
63
63
64
64
# test.rcppStop <- function() {
@@ -75,7 +75,7 @@ expect_true(!is.null(condition$cppstack))
75
75
76
76
expect_identical(class(condition $ cppstack ), " Rcpp_stack_trace" )
77
77
78
- expect_equal(condition $ call , quote(takeLogStop(- 1L )))
78
+ # expect_equal(condition$call, quote(takeLogStop(-1L)))
79
79
80
80
81
81
# test.rcppExceptionLocation <- function() {
@@ -95,7 +95,7 @@ expect_identical(class(condition$cppstack), "Rcpp_stack_trace")
95
95
# expect_identical(condition$cppstack$file, "exceptions.cpp")
96
96
# expect_identical(condition$cppstack$line, 44L)
97
97
98
- expect_equal(condition $ call , quote(takeLogRcppLocation(- 1L )))
98
+ # expect_equal(condition$call, quote(takeLogRcppLocation(-1L)))
99
99
100
100
101
101
# test.rcppExceptionLocation <- function() {
@@ -109,7 +109,7 @@ nested <- tryCatch(f1(-1), error = identity)
109
109
# # Message the same
110
110
expect_identical(normal $ message , nested $ message )
111
111
112
- expect_equal(nested $ call , quote(takeLogNested(x )))
112
+ # expect_equal(nested$call, quote(takeLogNested(x)))
113
113
114
114
115
115
# test.rcppExceptionNoCall <- function() {
0 commit comments