]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/commitdiff
Update .Renviron to use curly brackets for Environment Variables (#448)
authormarcingold22 <94906648+marcingold22@users.noreply.github.com>
Wed, 1 Jan 2025 14:58:29 +0000 (15:58 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Jan 2025 14:58:29 +0000 (15:58 +0100)
programs/R.json

index a06ce51adc40867db4b75125e3980764ead66a2d..c74a53ff0bfdc53ccec1b3dcac44d60dcb798ffe 100644 (file)
@@ -4,7 +4,7 @@
         {
             "path": "$HOME/R",
             "movable": true,
-            "help": "Set R_LIBS_USER in `$HOME/.Renviron:\n\n```\nR_LIBS_USER=\"$XDG_DATA_HOME\"/R/x86_64-pc-linux-gnu-library\n```\n\nYou may find it necessary to append this line to the end of `/usr/lib/R/library/base/R/Rprofile`:\n\n```R.libPaths( c( \"$XDG_DATA_HOME/R/x86_64-pc-linux-gnu-library/\" , .libPaths() ) )```\n\n**Disclaimer: You may need to re-install your libraries**"
+            "help": "Set R_LIBS_USER in `$HOME/.Renviron:\n\n```\nR_LIBS_USER=\"${XDG_DATA_HOME}\"/R/x86_64-pc-linux-gnu-library\n```\n\nYou may find it necessary to append this line to the end of `/usr/lib/R/library/base/R/Rprofile`:\n\n```R.libPaths( c( \"$XDG_DATA_HOME/R/x86_64-pc-linux-gnu-library/\" , .libPaths() ) )```\n\n**Disclaimer: You may need to re-install your libraries**"
         },
         {
             "path": "$HOME/.Rprofile",