code: def generate_exports(
      project_shortname,
      components,
      metadata,
      pkg_data,
      rpkg_data,
      prefix,
      package_depends,
      package_imports,
      package_suggests,
      **kwargs,
  ):
      export_string = make_namespace_exports(components, prefix)
  
      # Look for wildcards in the metadata
      has_wildcards = False
      for component_data in metadata.values():
          if any(key.endswith("-*") for key in component_data["props"]):
              has_wildcards = True
              break
  
      # now, bundle up the package information and create all the requisite
      # elements of an R package, so that the end result is installable either
      # locally or directly from GitHub
      generate_rpkg(
          pkg_data,
          rpkg_data,
          project_shortname,
          export_string,
          package_depends,
          package_imports,
          package_suggests,
          has_wildcards,
      )
  
imports: import os
  import sys
  import shutil
  import importlib
  import textwrap
  import re
  import warnings
  from ._all_keywords import r_keywords
  from ._py_components_generation import reorder_props
label_desc: Use image node_id 11 for calling a global function with example usage: generate_exports(project_shortname, components, metadata, pkg_data, rpkg_data, prefix, package_depends, package_imports, package_suggests) without return types