Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can deep-clone only portable classes #85

Closed
krlmlr opened this issue Apr 16, 2016 · 0 comments
Closed

Can deep-clone only portable classes #85

krlmlr opened this issue Apr 16, 2016 · 0 comments

Comments

@krlmlr
Copy link
Member

krlmlr commented Apr 16, 2016

CloneTest <- R6::R6Class(
  "CloneTest",
  portable = FALSE
)

CloneTest$new()$clone(deep = TRUE)
# Error: evaluation nested too deeply: infinite recursion / options(expressions=)?
krlmlr pushed a commit to krlmlr/testthat that referenced this issue Apr 16, 2016
hadley pushed a commit to r-lib/testthat that referenced this issue Apr 18, 2016
@wch wch closed this as completed in ddf822b Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant