Skip to content

Commit

Permalink
added ropensci badge as per ropensci/software-review#625
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Rodrigues committed Feb 12, 2024
1 parent 2fd3551 commit 7e85209
Show file tree
Hide file tree
Showing 6 changed files with 61 additions and 5 deletions.
1 change: 1 addition & 0 deletions .#README.Rmd
3 changes: 2 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ output: github_document
[![R-CMD-check](https://github.com/b-rodrigues/rix/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/b-rodrigues/rix/actions/workflows/R-CMD-check.yaml)
[![runiverse-package rix](https://b-rodrigues.r-universe.dev/badges/rix?scale=1&color=pink&style=round)](https://b-rodrigues.r-universe.dev/rix)
[![Docs](https://img.shields.io/badge/docs-release-blue.svg)](https://b-rodrigues.github.io/rix)
[![pkgcheck](https://github.com/b-rodrigues/rix/workflows/pkgcheck/badge.svg)](https://github.com/b-rodrigues/rix/actions?query=workflow%3Apkgcheck)
[![Status at rOpenSci Software Peer Review](https://badges.ropensci.org/625_status.svg)](https://github.com/ropensci/software-review/issues/625)

<!-- badges: end -->

<!-- README.md is generated from README.Rmd. Please edit that file -->
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
[![runiverse-package
rix](https://b-rodrigues.r-universe.dev/badges/rix?scale=1&color=pink&style=round)](https://b-rodrigues.r-universe.dev/rix)
[![Docs](https://img.shields.io/badge/docs-release-blue.svg)](https://b-rodrigues.github.io/rix)
[![pkgcheck](https://github.com/b-rodrigues/rix/workflows/pkgcheck/badge.svg)](https://github.com/b-rodrigues/rix/actions?query=workflow%3Apkgcheck)
<!-- badges: end -->
[![Status at rOpenSci Software Peer
Review](https://badges.ropensci.org/625_status.svg)](https://github.com/ropensci/software-review/issues/625)

<!-- badges: end -->
<!-- README.md is generated from README.Rmd. Please edit that file -->

# rix: Reproducible Environments with Nix <a href="https://https://b-rodrigues.github.io/rix/"><img src="man/figures/logo.png" align="right" height="138" /></a>
Expand Down
4 changes: 2 additions & 2 deletions inst/extdata/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ let
src = pkgs.fetchgit {
url = "https://github.com/b-rodrigues/rix/";
branchName = "master";
rev = "4d96207e7f69cbadca5349e9caa5bcc4059c1dc3";
sha256 = "sha256-P2q1jNL/fNqvA8T5+t6KJsJT6DAxp9PmoQZfydohWzQ=";
rev = "2fd3551a9ec780d2c1eb41ae47af62ba2671de38";
sha256 = "sha256-hHx1N3QXTP48JW0Qn9MBkUqeT+FWTVmnPwb71GGHUF8=";
};
propagatedBuildInputs = builtins.attrValues {
inherit (pkgs.rPackages) codetools httr jsonlite sys;
Expand Down
27 changes: 27 additions & 0 deletions vignettes/_env_1_2_R-4-2-0/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This file was generated by the {rix} R package v0.6.0 on 2024-02-12
# with following call:
# >rix(r_ver = "f597e7e9fcf37d8ed14a12835ede0a7d362314bd",
# > project_path = path_env_1_2,
# > overwrite = TRUE,
# > shell_hook = "R")
# It uses nixpkgs' revision f597e7e9fcf37d8ed14a12835ede0a7d362314bd for reproducibility purposes
# which will install R version 4.2.0
# Report any issues to https://github.com/b-rodrigues/rix
let
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/f597e7e9fcf37d8ed14a12835ede0a7d362314bd.tar.gz") {};
system_packages = builtins.attrValues {
inherit (pkgs) R glibcLocales nix ;
};
in
pkgs.mkShell {
LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/lib/locale/locale-archive" else "";
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";

buildInputs = [ system_packages ];
shellHook = "R";
}
26 changes: 26 additions & 0 deletions vignettes/_env_1_R-4-1-3/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This file was generated by the {rix} R package v0.6.0 on 2024-02-12
# with following call:
# >rix(r_ver = "6e3a86f2f73a466656a401302d3ece26fba401d9",
# > project_path = path_env_1,
# > overwrite = TRUE)
# It uses nixpkgs' revision 6e3a86f2f73a466656a401302d3ece26fba401d9 for reproducibility purposes
# which will install R version 4.1.3
# Report any issues to https://github.com/b-rodrigues/rix
let
pkgs = import (fetchTarball "https://github.com/NixOS/nixpkgs/archive/6e3a86f2f73a466656a401302d3ece26fba401d9.tar.gz") {};
system_packages = builtins.attrValues {
inherit (pkgs) R glibcLocales nix ;
};
in
pkgs.mkShell {
LOCALE_ARCHIVE = if pkgs.system == "x86_64-linux" then "${pkgs.glibcLocales}/lib/locale/locale-archive" else "";
LANG = "en_US.UTF-8";
LC_ALL = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";

buildInputs = [ system_packages ];

}

0 comments on commit 7e85209

Please sign in to comment.