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

Apply .buildignore to stored packages in bootstrap/software #36

Open
iagomosqueira opened this issue Aug 12, 2022 · 1 comment
Open
Assignees

Comments

@iagomosqueira
Copy link

Packages taken from github into bootstrap/software as tar.gz contain the whole repository, minus the .git folder, including files listed in .Rbuldignore.

If we assume the source code is there to be installed, not to extend it or run tests, wouldn't it be more economical in space to keep the tar.gz returned by R CMD build?

For FLasher, for example, the current tar,gz created by taf.bootstrap() takes 4.25 Mb, while the built package uses 775Kb.

What would be the reasons to keep the (almost) full repository instead? Could taf.bootstrap at least apply .Rbuildignore?

@iagomosqueira
Copy link
Author

This would also be useful for the workflow I am trying to use explained in #37, @arni-magnusson. Is this an option easy to implement given the R tools being used to create the tar.gz in bootstrap/software?

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