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

Adding local packages #68

Closed
jgellar opened this issue Apr 5, 2016 · 7 comments
Closed

Adding local packages #68

jgellar opened this issue Apr 5, 2016 · 7 comments

Comments

@jgellar
Copy link

jgellar commented Apr 5, 2016

I saw somewhere that miniCRAN supports adding packages from local files, and from GitHub, but I don't see a way to do it and there are some outstanding Issues that don't seem to be resolved. Can you confirm - does miniCRAN support local packages, and/or GitHub packages?

@achubaty
Copy link
Collaborator

achubaty commented Apr 5, 2016

As far as I know, this is not in the package and is listed as an upcoming enhancement idea (#23). I have a custom function I've been using for my own purposes, which I will cleanup and contribute to the package.

@achubaty
Copy link
Collaborator

achubaty commented Apr 5, 2016

@jgellar #58 and #59 suggest that using file:/// to specify the repo for download may already work.

@achubaty
Copy link
Collaborator

achubaty commented Apr 5, 2016

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

@jgellar
Copy link
Author

jgellar commented Apr 5, 2016

Thanks @achubaty for looking into it. I'd love to see your custom function, if you could share.

In order to add a package, is it sufficient to just copy the source package (e.g., from my own library for an installed package) into the miniCRAN repo? I could manage the dependencies manually (just making sure that all dependencies for my local packages are also in the repo).

Or does that skip some internal step?

@jamieo-ms
Copy link

You can, in theory, add custom R packages to a local repository and AzureML should be able to pull from there. Two problems:

@achubaty
Copy link
Collaborator

achubaty commented Apr 1, 2017

@jgellar see the updated issue #23 where I've added a addLocalPackage function in a feature branch. Feedback appreciated.

@achubaty
Copy link
Collaborator

achubaty commented Jun 6, 2017

closing as duplicate of #23

@achubaty achubaty closed this as completed Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants