title: Import font into R using extrafont package
body: <p>I'm trying to import Garamond into R using the <code>extrafont</code> package. I am able to successfully import other fonts when using the unspecified <code>font_import()</code> function directed towards the font location folder, but I'm missing out several fonts located in that folder. Any suggestion why only some fonts are imported and others not?</p>
  
  <p>I've tried the </p>
  
  <pre><code>font_import(pattern = "Garamond.ttf")
  ttf_import(pattern = "Garamond.ttf")
  </code></pre>
  
  <p>with the following error message:</p>
  
  <blockquote>
    <p>Scanning ttf files in /Library/Fonts/, /System/Library/Fonts, ~/Library/Fonts/ ...
        Extracting .afm files from .ttf files...
        Error in data.frame(fontfile = ttfiles, FontName = "", stringsAsFactors = FALSE) : 
        arguments imply differing number of rows: 0, 1</p>
  </blockquote>