phuse-org / valtools

Validation framework for R packages used in clinical research and drug development.
https://phuse-org.github.io/valtools/
Other
51 stars 10 forks source link

Add to RStudio project wizard #113

Closed peymaneshghi closed 3 years ago

peymaneshghi commented 3 years ago

Add 'Create R Package using valtools' to the RStudio New project wizard

thebioengineer commented 3 years ago

I was testing the dcf opening wizard, and I noticed that the same project gets opened twice when it is run. We will want to fix that.

peymaneshghi commented 3 years ago

@thebioengineer, that is because vt_create_package() opens a new session too (the open parameter). I implemented a workaround by adding a new wrapper function vt_create_package_wizard() for binding in dcf.
Interestingly, devtools package has the same issue!

thebioengineer commented 3 years ago

Since you branched off of #63 , lets let that get merged in before we add this.

as for devtools having the same issue, i would say open an issue with them! Im sure they would appreciate it.

mariev commented 3 years ago

duplicated via #136