copy_rosv | R Documentation |
Create a copy of {rosv} R6 class objects to ensure original is not also updated with future changes.
copy_rosv(x, ...)
x |
Object to copy. |
... |
Additional parameters sent to R6's clone method. |
Since R6 classes have reference semantics, to escape updating original objects a clone can be made with this function.
An R6 class object.
original_obj <- RosvQuery1$new(name = 'readxl', ecosystem = 'CRAN')
new_obj <- copy_rosv(original_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.