(
project_shortname,
components,
metadata,
pkg_data,
rpkg_data,
prefix,
package_depends,
package_imports,
package_suggests,
**kwargs
)
| 750 | |
| 751 | # pylint: disable=unused-argument |
| 752 | def generate_exports( |
| 753 | project_shortname, |
| 754 | components, |
| 755 | metadata, |
| 756 | pkg_data, |
| 757 | rpkg_data, |
| 758 | prefix, |
| 759 | package_depends, |
| 760 | package_imports, |
| 761 | package_suggests, |
| 762 | **kwargs |
| 763 | ): |
| 764 | export_string = make_namespace_exports(components, prefix) |
| 765 | |
| 766 | # Look for wildcards in the metadata |
| 767 | has_wildcards = False |
| 768 | for component_data in metadata.values(): |
| 769 | if any(key.endswith("-*") for key in component_data["props"]): |
| 770 | has_wildcards = True |
| 771 | break |
| 772 | |
| 773 | # now, bundle up the package information and create all the requisite |
| 774 | # elements of an R package, so that the end result is installable either |
| 775 | # locally or directly from GitHub |
| 776 | generate_rpkg( |
| 777 | pkg_data, |
| 778 | rpkg_data, |
| 779 | project_shortname, |
| 780 | export_string, |
| 781 | package_depends, |
| 782 | package_imports, |
| 783 | package_suggests, |
| 784 | has_wildcards, |
| 785 | ) |
| 786 | |
| 787 | |
| 788 | def make_namespace_exports(components, prefix): |
no test coverage detected
searching dependent graphs…