R6 icon indicating copy to clipboard operation
R6 copied to clipboard

Clone a class?

Open gaborcsardi opened this issue 6 years ago • 1 comments

This would be handy in the case when you want to emulate multiple inheritance, by just set()-ing methods on a class.

However, modifying an exported class might break other packages that use it, so it would be great if we could clone it.

gaborcsardi avatar Feb 26 '18 10:02 gaborcsardi

That does sound like it could be useful. I'd be happy to look at a PR.

wch avatar Feb 26 '18 15:02 wch