MyNixOS website logo
Description

Manage a CRAN-Style Local Repository.

This will allow easier management of a CRAN-style repository on local networks (i.e. not on CRAN). This might be necessary where hosted packages contain intellectual property owned by a corporation.

managelocalrepo

This package will allow easier maintainence of CRAN-like repos on local networks (i.e. not on CRAN). This might be necessary where hosted packages contain intellectual property owned by a corporation that cannot be hosted publicly.

Installation

Easy:

install.packages("managelocalrepo")

Process

  1. Set up a directory on your network. This will be your base directory.

  2. Create a subdirectory with the name submissions. This is where package files should be put before being released to your local repo.

  3. Add the managelocalrepo.submission and managelocalrepo.base options to your .First() file in your .Rprofile. For example, your .Rprofile might look something like this:

    .First <- function () 
    {
        options( 
          repos = c(CORPREPO = "file:////server/file/path/to/your/dir"),
          managelocalrepo.submissions = '/path/to/your/dir/submissions',
          managelocalrepo.base = '/path/to/your/dir')
    }
    

The `repos` option will make sure you can install from the corporate repo. 
The other two options will help point `managelocalrepo` to where it might
find the package file (e.g. `zip`, `tgz` file) when you use 
`quick_release_package()`.

Then you can build package file (e.g. `package_file.zip`), have them copied to
the `submissions` folder and then run
`quick_release_package('package_file.zip')`.

## Notes

I've tested this on Windows and OSX. But hopefully it should work on other 
platforms.
Metadata

Version

0.1.5

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows