Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maturin like package build tool for monorepo #284

Open
eitsupi opened this issue May 31, 2023 · 2 comments
Open

maturin like package build tool for monorepo #284

eitsupi opened this issue May 31, 2023 · 2 comments

Comments

@eitsupi
Copy link
Contributor

eitsupi commented May 31, 2023

Currently, the rextendr template is not intended to be used in mono repo.
It would be useful if there was a tool that could build R packages in monorepo, like maturin used to build python packages.

When maturin builds the source distribution of a Python package, it moves the local dependencies to a directory named local_dependencies.
https://github.com/PyO3/maturin/blob/f2279cd97a917acd5c5f06cfb3dddf8fd23f5944/src/source_distribution.rs

For example, see the difference between the following GitHub repository of minijnja and the source distribution of the minijinja Python package.
https://github.com/mitsuhiko/minijinja/tree/0.32.0/minijinja-py
https://files.pythonhosted.org/packages/3f/77/6e23924f7bd4b1ec38e56f7834a47f921ef94b9ccf173768b9a09dd0cf33/minijinja-0.32.0.tar.gz

@eitsupi
Copy link
Contributor Author

eitsupi commented Jun 14, 2023

This pkgbuild's new feature maybe able to used for this. (r-lib/pkgbuild#157)

@JosiahParry
Copy link
Contributor

I think this would be very helpful for https://github.com/nptscot/rnetmatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants