diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  'stringDist'
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  ‘stringDist’
Undefined global functions or variables:
  stringDist
diversity.pDistance: no visible global function definition for
  'stringDist'
Undefined global functions or variables:
  stringDist