No description
  • Nix 78.3%
  • R 21.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
github-actions[bot] f5c644b7a1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:dwinkler1/rixpkgs/c76f7c2' (2026-10-06)
  → 'github:dwinkler1/rixpkgs/0c78ba9' (2026-10-14)
2026-10-14 08:27:24 +00:00
.github Bump DeterminateSystems/update-flake-lock from 28 to 29 2026-09-14 13:33:58 +00:00
packages Add pname metadata to R package derivations 2026-10-09 11:57:05 +00:00
test Remove httpgd library and associated calls 2026-02-19 11:51:45 +11:00
versions [create-pull-request] automated change 2026-10-09 10:09:47 +00:00
.gitignore added summclust 2026-01-19 13:50:08 +11:00
flake.lock flake.lock: Update 2026-10-14 08:27:24 +00:00
flake.nix Update flake.nix 2026-06-13 09:22:06 +10:00
README.md Update README.md 2026-06-13 18:05:02 +10:00

Usage

Based on the-nix-way

{
  description = "A Nix-flake-based R development environment";

  inputs.nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
  inputs.fran.url = "github:dwinkler1/fran";
  inputs.fran.inputs.nixpkgs.follows = "nixpkgs";

  outputs = inputs: let
    supportedSystems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
    forEachSupportedSystem = f:
      inputs.nixpkgs.lib.genAttrs supportedSystems (system:
        f {
          pkgs = import inputs.nixpkgs {
            inherit system;
            overlays = [inputs.fran.overlays.default];
          };
        });
    mkR = inputs.fran.lib.mkR;
  in {
    devShells = forEachSupportedSystem ({pkgs}: {
      default = pkgs.mkShell {
        packages = with pkgs; [
          (mkR {
            inherit pkgs;
            packages = [rPackages.data_table franPackages.fwildclusterboot];
          })
        ];
      };
    });
  };
}