workflowr / workflowr/workflowr

Use template in wflowr_open

Open
#267 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
906
Forks
107
PR merge metrics
No merged PRs in 30d

Description

Hi,
Thank you for workflowr package.
I use it to help my colleagues to follow their 3 analysis type A, B and C. For each one we can change the input data file and add some plots. Each analysis follows a dedicated template integrate in our functions package.
So to do that I start a wflowr project, install and load our functions package and open several Rmd files using the 3 templates by file > new file > new R Markdown > from Template choosing our template. And We save each new files in analysis directory.
I would like to use wflow_open() with a parameter for the template to use. I think that it will be interesting to create a such parameter in wflow_open().

I see in this issue https://github.com/workflowr/workflowr/issues/83, developed in november 2017, that it corresponds to my need but I don't know how can I use it?

Thank you for your reply and help. Véronique

I use workflowr 1.7.0. with Rstudio 1.4.1106 on MacOS Monterey

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the wflow_open() entry point and the related issue #83, then trace how new Rmd files are opened from templates. Confirm how the requested template parameter should interact with the analysis directory and existing workflowr behavior. Done means users can select a package template through wflow_open() without the current manual RStudio steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.