Open eitsupi opened 1 year ago
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
local_dependencies
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
This pkgbuild's new feature maybe able to used for this. (r-lib/pkgbuild#157)
pkgbuild
I think this would be very helpful for https://github.com/nptscot/rnetmatch
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.rsFor 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