11
2- # # Copyright (C) 2010 - 2020 Dirk Eddelbuettel and Romain Francois
2+ # # Copyright (C) 2010 - 2022 Dirk Eddelbuettel and Romain Francois
33# #
44# # This file is part of Rcpp.
55# #
@@ -37,7 +37,7 @@ expect_identical(class(condition), c("std::range_error", "C++Error", "error", "c
3737# # C++ stack only available for Rcpp::exceptions
3838expect_true(is.null(condition $ cppstack ))
3939
40- expect_identical(condition $ call , quote(takeLog(- 1L )))
40+ # expect_identical(condition$call, quote(takeLog(-1L)))
4141
4242
4343# test.rcppException <- function() {
@@ -58,7 +58,7 @@ expect_true(!is.null(condition$cppstack))
5858
5959expect_identical(class(condition $ cppstack ), " Rcpp_stack_trace" )
6060
61- expect_equal(condition $ call , quote(takeLogRcpp(- 1L )))
61+ # expect_equal(condition$call, quote(takeLogRcpp(-1L)))
6262
6363
6464# test.rcppStop <- function() {
@@ -75,7 +75,7 @@ expect_true(!is.null(condition$cppstack))
7575
7676expect_identical(class(condition $ cppstack ), " Rcpp_stack_trace" )
7777
78- expect_equal(condition $ call , quote(takeLogStop(- 1L )))
78+ # expect_equal(condition$call, quote(takeLogStop(-1L)))
7979
8080
8181# test.rcppExceptionLocation <- function() {
@@ -95,7 +95,7 @@ expect_identical(class(condition$cppstack), "Rcpp_stack_trace")
9595# expect_identical(condition$cppstack$file, "exceptions.cpp")
9696# expect_identical(condition$cppstack$line, 44L)
9797
98- expect_equal(condition $ call , quote(takeLogRcppLocation(- 1L )))
98+ # expect_equal(condition$call, quote(takeLogRcppLocation(-1L)))
9999
100100
101101# test.rcppExceptionLocation <- function() {
@@ -109,7 +109,7 @@ nested <- tryCatch(f1(-1), error = identity)
109109# # Message the same
110110expect_identical(normal $ message , nested $ message )
111111
112- expect_equal(nested $ call , quote(takeLogNested(x )))
112+ # expect_equal(nested$call, quote(takeLogNested(x)))
113113
114114
115115# test.rcppExceptionNoCall <- function() {
0 commit comments