-
Notifications
You must be signed in to change notification settings - Fork 43
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
new function to add a local package #23
Comments
I have an early version of this I've been using locally but it needs clean up and testing before adding a version here. |
nevermind, I read that wrong. those two issues are about installing FROM a local repo not adding a local package to one. |
Started new branch the aim is to provide a function that takes a pre-built local package and adds it to the miniCRAN repo. The currently unimplemented I hope to return to this soon |
* add `magrittr` to Imports * clean up `addLocalPackage` and `.listFiles` **NOTE** test4 still failing
Came across this, as I need the ability to push in-house built packages to the R Server, and this seems to be the path. Is this functionality yet present, or is there another way to add locally-built packages to the miniCRAN repo? |
@mpettis @andrie I've fixed up the version I had started working on in the The new function I want to test this a bit more in my work environment (rather than just at home) to make sure the improved version is working in my real use case, but please take it for a spin! |
Great, exaclty what I was looking for. It worked fine on my MacOS Sierra. Thanks a lot @achubaty. Any idea when this is merged into master? I think it really adds a lot of value to |
I just created a minimal example how it worked with one of my packages: |
@lorenzwalthert no idea when it will be merged -- that will be up to @andrie and his schedule. good point about |
cool. Well with regard to the merge, why don't you create a pull request after rebasing the branch upon master? |
**NOTE:** @andrie dopndency graph vignette is failing during R CMD check, though it builds fine in Rstudio. Could there be a conflict in the versions in `inst/doc/` vs `vignettes/` ??
After |
I did some fixing up and have now merged this feature branch into dev (93246da). I'll defer to @andrie as gatekeeper to merge into master and submit to CRAN. Thus, @jgbradley1, I don't have a timeframe for you, but I see there are a few other small issues that should probably be resolved for the next CRAN version. For now, you can use |
Supplements adding packages from CRAN-like repo and GitHub.
Can be used with
addOldPackage(..., writePACKAGES=FALSE)
and, after a build of the package binaries on a local machine, should add the local files to the miniCRAN repo."local" packages here could mean package files on the local harddrive, a network location, and possibly a non-CRAN-like web location (so this would also work with prebuilt packages from Github or other site).
The text was updated successfully, but these errors were encountered: