search for: b_serial

Displaying 1 result from an estimated 1 matches for "b_serial".

Did you mean: u_serial
2019 Aug 12
1
ALTREP package interaction with testthat
...assType = "real") setAltMethod(className = "test", getLength = length_func) testData = runif(10) myAltrep = makeAltrep("test", testData) test_that("Auto serialize", { browser() A = 10 A_serialized=serialize(A,NULL) B = new.env() B_serialized=serialize(B,NULL) }) ``` There is nothing but two variables A and B in the test function. I use browser() to stop and debug the code. Here is the weird thing, my package function is called when I?m trying to serialize *A* and *B*: ``` Browse[1]> A = 10 Browse[1]> A_serialized=serial...