title: building a Wizard using RStudio Addin / Shiny Gadget (seq. dialogueViewer() )
body: <p>I would like to build a Wizard for my <a href="http://qua.st/decompr/" rel="nofollow noreferrer">R package</a> using <a href="https://rstudio.github.io/rstudioaddins/#shiny-gadgets" rel="nofollow noreferrer">Shiny Gadgets / RStudio Addins</a>.</p>
  
  <p>Essentially, this should comprise of a series of sequential <code>dialogueViewer()</code> windows.</p>
  
  <p>For this I need:</p>
  
  <ol>
  <li>a way to pass information from one <code>dialogueViewer()</code> to the next.</li>
  <li>that only the first <code>dialogueViewer()</code> appears in the Addins menu / dropdown.</li>
  </ol>
  
  <p><strong>EDIT:</strong> I started working on something <a href="https://github.com/bquast/ShinyGadgetWizard" rel="nofollow noreferrer">here</a> but I get this error: </p>
  
  <pre><code>Error in handlers$add(handler, key, tail) : Key / already in use`
  </code></pre>
  
  <p>Any thoughts?</p>
  
  <p>The second problem is relatively easily solved by only registering one function in the <code>inst/rstudio/addins.dcf</code> file.</p>