Recent Releases of rix
rix - rix 0.4.1
rix 0.4.1 (2023-10-06)
Bug fixes
rix::rix(): fix missingpkgs.mkShellwhenshell_hook = NULL. Bothshell_hook = ""andshell_hook = NULLare now producing valid nix expressions.
Rix: Reproducible Environments with Nix
{rix} is a toolkit in R that eases the creation of reprodublible and isolated R environments using Nix and the Nix Packages collection.
The goal is to enable a frictionless infrastructure-as-code approach for all three major operating systems: linux, macOS and Windows (via WSL2). {nix} equips you with handy helpers so that you can derive a project-based Nix setup without diving too deep into the language and packaging specifics of Nix.
rix() is one of the main functions, which you can use to bootstrap default.nix files by providing these arguments:
r_ver: R version or corresponding Nix R revisionr_pkgs: R packages and versions from CRANsystem_pkgs: any other systems tools available from Nix (e.g. Julia, Rust, quarto CLI, etc.)git_pkgs: R packages and versions from GitHubtex_pkgs: Set of LaTeX packages to installide: interactive development environment; currently we support RStudio, VSCode, and "other"project_pathoverwrite- -
print shell_hook: Commands added viashellHookthat get executed when entering in Nix shell environemnt
A lot of new cool features are underway in upcoming versions. Please check out the
changelog above or NEWS.md for features, bug fixes and eventual changes in new features. The issue tracker is the recommended way to report problems and to follow development plans and progress.
- R
Published by philipp-baumann over 2 years ago
rix - rix 0.4.0
rix 0.4.0 (2023-09-26)
Features
rix::rix()now defaults to"en_US.UTF-8"for the relevant locale variables (LANG,LC_ALL,LC_TIME,LC_MONETARY,LC_PAPER,LC_MEASUREMENT) and sets these environment variables in the Nix shell. These will be correctly propagated into the Nix R session. Users can modify the locale setting viaoptions(rix.nix_locale_variables = list(LANG = "de_CH.UTF-8", <...>), e.g., but it needs to be an UTF-8 locale. This is because we only import theglibcLocalesUtf8subset, to not keep the size reasonable.
Bug fixes
- fix locale warnings when starting R in linux, which uses glibc (closes
#50). Now, we use
glibcLocalesUtf8from Nix for "x86_64-linux".
Rix: Reproducible Environments with Nix
{rix} is a toolkit in R that eases the creation of reprodublible and isolated R environments using Nix and the Nix Packages collection.
The goal is to enable a frictionless infrastructure-as-code approach for all three major operating systems: linux, macOS and Windows (via WSL2). {nix} equips you with handy helpers so that you can derive a project-based Nix setup without diving too deep into the language and packaging specifics of Nix.
rix() is one of the main functions, which you can use to bootstrap default.nix files by providing these arguments:
r_ver: R version or corresponding Nix R revisionr_pkgs: R packages and versions from CRANsystem_pkgs: any other systems tools available from Nix (e.g. Julia, Rust, quarto CLI, etc.)git_pkgs: R packages and versions from GitHubtex_pkgs: Set of LaTeX packages to installide: interactive development environment; currently we support RStudio, VSCode, and "other"shell_hook: Commands added viashellHookthat get executed when entering in Nix shell environemnt
A lot of new cool features are underway in upcoming versions. Please check out the
changelog above or NEWS.md for features, bug fixes and eventual changes in new features. The issue tracker is the recommended way to report problems and to follow development plans and progress.
- R
Published by philipp-baumann over 2 years ago
rix - {rix} v0.2.1.9002
rix 0.2.1.9002 (2023-09-02)
nix_build()now supports--max_jobsflag ofnix-buildviaoptions(rix.nix_build_max_jobs = <integer>). Custom settings of this option can be useful for leveraging full I/O latency or efficient builds on shared memory multiprocessing systems.
rix 0.2.1.9001 (2023-08-29)
- Include
nix_build()in interactive use vignette (#68).
rix 0.2.1.9000 (2023-08-29)
Chore
- Fix internal
create_default_nix()so thatproject_pathis directory name. - Updated
inst/extdata/default.nixto latest commit of {rix} prior bumping.
rix 0.2.1 (2023-08-26)
Bug fixes
- Patch
rix()to allow emptyr_pkgs(##67). - Patch
rix()to do bug-free calling ofrix_build()within default nix shell.
Chore
- New internal helper
create_default_nix()to bootstrap./inst/extdata/default.nix
rix 0.2.0 (2023-08-25)
New features
- Updated Nix historical revision data to include R version 4.3.1.
- Provision a new
shell_hookarg forrix::rix(), which will create ashellHookentry indefault.nix.
Bug fixes
inst/extdata/default.nix: useR --vanillain shellHook to not propagate user-specific.Renvironand.Rprofile. Fixes #56
- R
Published by philipp-baumann almost 3 years ago
rix - rix 0.1.2
Bug fixes
- Patch
inst/exdata/default.nixby removingLOCALE_ARCHIVEshellHook, that was set to glibc locale. This makes surenix-builddoes not fail on MacOS anymore (#40; fixed with 37f7ab8). Please note that this is a temporary fix that works, but it gives a startup warning in R for linux that the locale categories were set to "C". nix_build(): fix defensive check so the error message is referring toproject_pathinstead ofnix_file. The patch does not change correct behavior ofnix_build(), hence it is only of cosmetic nature.
Rix: Reproducible Environments with Nix
{rix} is a toolkit in R that eases the creation of reprodublible and isolated R environments (and beyond) using Nix and the Nix Packages collection.
The goal is to enable a frictionless infrastructure-as-code approach for all three major operating systems: linux, macOS and Windows (via WSL2). {nix} equips you with handy helpers so that you can derive a project-based Nix setup without diving too deep into the language and packaging specifics of Nix.
rix() is one of the main functions, which you can use to bootstrap default.nix files by providing these arguments:
r_ver: R version or corresponding Nix R revisionr_pkgs: R packages and versions from CRANother_pkgs: any other systems tools available from Nix (e.g. Julia, Rust, quarto CLI, etc.)git_pkgs: R packages and versions from GitHubide: interactive development environment; currently we support RStudio, VSCode, and "other"
A lot of new cool features are underway in upcoming versions. Please check out the changelog above or NEWS.md for features, bug fixes and eventual changes in new features. The issue tracker is the recommended way to report problems and to follow development plans and progress.
- R
Published by philipp-baumann almost 3 years ago