title: R Package: How to link function using Source()
body: <p>So I have an R package that uses a Shiny Application. I want the server.R to use another file as a source. Here's my directory:</p>
  
  <pre><code>PackageName:
       inst:
            ShinyApp:
                server.R
                ui.R
        R:
             myFunction1.R
             myFunction2.R
             myConstructor.R
  </code></pre>
  
  <p>I want the <code>server.R</code> to use the <code>myConstructor.R</code> as a source to call interactively. But How can I do so? I've tried <code>source(PackageName::R::("myConstructor.R"))</code>, <code>source(PackageName::("myConstructor.R"))</code>, <code>source(system.file("R", package="PackageName"), "myConstructor.R")</code> at the top of the <code>server.R</code> file but these all did not work. Any Help?</p>