code: func CheckDependencies(ch *chart.Chart, reqs *chartutil.Requirements) error {
  	missing := []string{}
  
  	deps := ch.GetDependencies()
  	for _, r := range reqs.Dependencies {
  		found := false
  		for _, d := range deps {
  			if d.Metadata.Name == r.Name {
  				found = true
  				break
  			}
  		}
  		if !found {
  			missing = append(missing, r.Name)
  		}
  	}
  
  	if len(missing) > 0 {
  		return fmt.Errorf("found in requirements.yaml, but missing in charts/ directory: %s", strings.Join(missing, ", "))
  	}
  	return nil
  }
docs: // CheckDependencies will do a simple dependency check on the chart for local
  // rendering