Giter Club home page Giter Club logo

Comments (12)

achubaty avatar achubaty commented on August 19, 2024

I have an early version of this I've been using locally but it needs clean up and testing before adding a version here.

from minicran.

achubaty avatar achubaty commented on August 19, 2024

@andrie Is this covered by existing functionality per #58 and #59? I'll hold off prepping my version of this for now until I either hear back from you or have a chance to test this myself.

from minicran.

achubaty avatar achubaty commented on August 19, 2024

nevermind, I read that wrong. those two issues are about installing FROM a local repo not adding a local package to one.

from minicran.

achubaty avatar achubaty commented on August 19, 2024

Started new branch 23-addLocalPackages which incorporates the 24-addPackages branch. This new branch is still a work in progress and I haven't yet done much testing.

the aim is to provide a function that takes a pre-built local package and adds it to the miniCRAN repo. The currently unimplemented build = TRUE argument would allow a package to be built from the local source code (i.e., after pulling from a github repo as in #50).

I hope to return to this soon

from minicran.

mpettis avatar mpettis commented on August 19, 2024

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?

from minicran.

achubaty avatar achubaty commented on August 19, 2024

@mpettis @andrie I've fixed up the version I had started working on in the 23-addLocalPackages branch, and added unit tests (8cd07b0).

The new function addLocalPackage() looks for a pre-built package in another (non-miniCRAN-repo) location and adds it to the miniCRAN repo.

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!

from minicran.

lorenzwalthert avatar lorenzwalthert commented on August 19, 2024

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 miniCRAN. Maybe just one thing I that could be stated more clearly in the help file: The argument pkgPath does not contain the package directory itself, i.e. pkgPath and pkgs make up the package directory together. Maybe that is obvious but I did not get it in the first place.

from minicran.

lorenzwalthert avatar lorenzwalthert commented on August 19, 2024

I just created a minimal example how it worked with one of my packages:
https://github.com/lorenzwalthert/localCran

from minicran.

achubaty avatar achubaty commented on August 19, 2024

@lorenzwalthert no idea when it will be merged -- that will be up to @andrie and his schedule.

good point about pkgPath. I've created a new issue (#85).

from minicran.

lorenzwalthert avatar lorenzwalthert commented on August 19, 2024

cool. Well with regard to the merge, why don't you create a pull request after rebasing the branch upon master?

from minicran.

jgbradley1 avatar jgbradley1 commented on August 19, 2024

After addLocalPackage() is added to master, is there an estimate/plan on when the new updates will be available on CRAN?

from minicran.

achubaty avatar achubaty commented on August 19, 2024

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 devtools::install_github("RevolutionAnalytics/miniCRAN@dev).

from minicran.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.