title: Where to create package environment variables?
body: <p>I'm doing a data analysis and created a package to store my vignettes and data, as explained <a href="https://rmflight.github.io/posts/2014/07/vignetteAnalysis.html" rel="noreferrer">here</a>.</p>
  
  <p>I want to set some variables that would be available to all my package functions.</p>
  
  <p>These variables define: the path to data sets, the measurements characteristics (such as probes positions), physical constants and so on.</p>
  
  <p>I have read that one recommended way to store such variables is to use environments.</p>
  
  <p>The question is, where do I put the script that creates the environment?</p>
  
  <p>I thought about putting it in the onLoad method, to be sure it's executed when the package is loaded.</p>