Closed steadyfish closed 7 years ago
Using S3 methods is a great idea, I like it!
I'm getting 1 error, 2 warnings, and 1 note when checking the package though (in RStudio using the 'Check' button or running devtools::check(args = c('--as-cran'))
in the console). They appear to be related to issues with the examples and S3 method consistency. Would you be alright with tweaking the PR to get the CRAN checks to pass?
Made changes to pass cran checks. Let me know if this works.
This looks really great! If you'd like, you can update the DESCRIPTION file and include yourself as a contributor with the line person("First", "Last", role = "ctb")
.
I'm going to refactor collapsibleTreeSummary
to use the same strategy in the meanwhile
Won't be able to submit updated DESCRIPTION file to this PR as it is closed. I could either create a new PR or you could update Author tag to this -
Author: Adeel Khan [aut, cre], Michael Bostock [ctb, cph] (D3.js library), Dhrumin Shah [ctb]
Thanks, I updated the DESCRIPTION file!
Hi @AdeelK93 ,
Re: #4 , I've taken generic function approach to create a new function
collapsibleTree.Node()
to achieve this. Most of the code in this function is similar to earliercollapsibleTree
function except that snippet for validatingdata.frame
and creatingdata.tree
has been removed.Let me know what you think.