r-lib / R6

Encapsulated object-oriented programming for R
https://R6.r-lib.org
Other
407 stars 56 forks source link

Can deep-clone only portable classes #85

Closed krlmlr closed 8 years ago

krlmlr commented 8 years ago
CloneTest <- R6::R6Class(
  "CloneTest",
  portable = FALSE
)

CloneTest$new()$clone(deep = TRUE)
# Error: evaluation nested too deeply: infinite recursion / options(expressions=)?