KentonWhite / ProjectTemplate

A template utility for R projects that provides a skeletal project.

Home Page:http://projecttemplate.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Add-Ins for quick access to functions

rsangole opened this issue · comments

commented

Report an Issue / Request a Feature

I'm submitting a (Check one with "x") :

  • bug report
  • feature request

Issue Severity Classification -

(Check one with "x") :

  • 1 - Severe
  • 2 - Moderate
  • 3 - Low
Expected Behavior

I would like some of the common functions to be added into an add-in. Some examples of excellent add-ins which add value from other packages include:

_documents_onedrive_mspa_453_text_analytics_nasa_text_r_project-master-_rstudio

I would love to see a button like 'Load Project' which would run:

library(ProjectTemplate)
load.project()

which are two commands I frequently type after clearing my environment to ensure full end-to-end reproducibility of my code.

I'm sure other regular users of the package can think of other useful buttons too.

I guess you are suggesting an addin for RStudio? The documentation looks like this should be not too hard to implement.

I would add two addins:

  • 'Load project': call require(ProjectTemplate); load.project()
  • 'Reload project': call require(ProjectTemplate); reload.project()
commented

Yep, exactly right. I'll work on this over the next week or so and see if I can get a PR out.

commented

Other users of this package - what other add-ins would you like to see?

commented

Pull request #229 addresses this issue.