title: Installing textshape package for Microsoft R Open 3.4.4 on Azure ML Studio
body: <p>I'm trying to use the R <code>sentimentr</code> package on Azure ML Studio. As this package is not supported, I'm trying to install it and its dependencies as described <a href="https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/execute-r-script#bkmk_AddingANewPackage" rel="nofollow noreferrer">in the documentation</a>.</p>
  
  <p>The steps that I have performed are:</p>
  
  <ul>
  <li><p>downloaded Windows binaries from the R Open 3.4.4 snapshot at <a href="https://mran.microsoft.com/timemachine" rel="nofollow noreferrer">CRAN time machine</a></p>
  
  <ul>
  <li><code>sentimentr_2.2.3.zip</code></li>
  <li><code>syuzhet_1.0.4.zip</code></li>
  <li><code>textclean_0.6.3.zip</code></li>
  <li><code>lexicon_0.7.4.zip</code></li>
  <li><code>textshape_1.5.0.zip</code> </li>
  </ul></li>
  <li><p>zipped those zip files into a zipped folder <code>packages.zip</code></p></li>
  <li>uploaded <code>packages.zip</code> as a dataset to Microsoft Azure ML Studio</li>
  </ul>
  
  <p>In my ML experiment I connect the <code>packages.zip</code> dataset to the "Script Bundle (Zip)" input port on "Execute R Script" and include this code:</p>
  
  <pre><code># install R package contained in src  
  install.packages("src/lexicon_0.7.4.zip", 
                   lib = ".", 
                   repos = NULL, 
                   verbose = TRUE)  
  
  install.packages("src/textclean_0.6.3.zip", 
                   lib = ".", 
                   repos = NULL, 
                   verbose = TRUE)  
  
  install.packages("src/textshape_1.5.0.zip", 
                   lib = ".", 
                   repos = NULL, 
                   verbose = TRUE)  
  
  install.packages("src/syuzhet_1.0.4.zip", 
                   lib = ".", 
                   repos = NULL, 
                   verbose = TRUE)  
  
  install.packages("src/sentimentr_2.2.3.zip", 
                   lib = ".", 
                   repos = NULL, 
                   verbose = TRUE)  
  
  # load libraries
  library(sentimentr, lib.loc = ".", verbose = TRUE)
  </code></pre>
  
  <p>The experiment runs successfully, until I include a function from <code>sentimentr</code>:</p>
  
  <pre><code>mydata &lt;- mydata %&gt;%
    get_sentences() %&gt;%
    sentiment()
  </code></pre>
  
  <p>This gives the error:</p>
  
  <blockquote>
    <p>there is no package called 'textshape'</p>
  </blockquote>
  
  <p>Which is difficult to understand given that the output log does not indicate an issue with the packages:</p>
  
  <pre><code>[Information]         The following files have been unzipped for sourcing in path=["src"]:
  [Information]                           Name  Length                Date
  [Information]         1 sentimentr_2.2.3.zip 3366245 2019-08-07 14:57:00
  [Information]         2    syuzhet_1.0.4.zip 2918474 2019-08-07 15:05:00
  [Information]         3  textclean_0.6.3.zip 1154814 2019-08-07 15:13:00
  [Information]         4    lexicon_0.7.4.zip 4551995 2019-08-07 15:17:00
  [Information]         5  textshape_1.5.0.zip  463095 2019-08-07 15:42:00
  [Information]         Loading objects:
  [Information]           port1
  [Information]         [1] "Loading variable port1..."
  [Information]         package 'lexicon' successfully unpacked and MD5 sums checked   
  [Information]         package 'textclean' successfully unpacked and MD5 sums checked
  [Information]         package 'textshape' successfully unpacked and MD5 sums checked
  [Information]         package 'syuzhet' successfully unpacked and MD5 sums checked
  [Information]         package 'sentimentr' successfully unpacked and MD5 sums checked
  </code></pre>
  
  <p>Has anyone seen this, or similar issues? Is it possible that "successfully unpacked" is not the same as successfully installed and usable?</p>