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

Document how to use file:/// URI to install from local miniCRAN #59

Open
andrie opened this issue Mar 7, 2015 · 3 comments
Open

Document how to use file:/// URI to install from local miniCRAN #59

andrie opened this issue Mar 7, 2015 · 3 comments
Assignees

Comments

@andrie
Copy link
Owner

andrie commented Mar 7, 2015

Pull request #58 includes some sample code in the vignette to demonstrate how to use the file:/// URI to point to a local miniCRAN repository.

We should in general improve the documentation to demonstrate this, e.g:

  • vignette
  • in makeRepo()
  • in README
  • in package level documentation

Also, create documentation with instructions on how to expose a miniCRAN via HTTP, to act like a "real" mirror.

@benmarwick
Copy link
Contributor

That sounds great, more docs along these lines will make this package very user friendly.

@achubaty
Copy link
Collaborator

achubaty commented Jun 6, 2017

  • addLocalPackage (new function to add a local package #23) needs documentation/examples.
  • I have a version of a document (and script) that provides instructions for setting up http miniCRAN server using nginx, but I haven't updated it since Ubuntu 14.04, so I would need help updating and testing. The instructions really should provide https instructions.

@vnijs
Copy link
Contributor

vnijs commented Oct 13, 2018

FYI I had some trouble trying to install from a local directory on macOS using "file:///". Instead, using file.path("file:", repo_dir) works fine on linux and macOS.

Here "repo_dir" is the base directory and the package are in, for example, file.path(repo_dir, "src/contrib")

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