mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 22:40:57 -05:00
added just for R update
This commit is contained in:
parent
2a0bf1a349
commit
0451e5cba4
3 changed files with 6 additions and 10 deletions
4
Justfile
Normal file
4
Justfile
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
rverurl := 'https://raw.githubusercontent.com/ropensci/rix/refs/heads/main/inst/extdata/available_df.csv'
|
||||||
|
update-r-version:
|
||||||
|
RVER=$( wget -qO- {{rverurl}} | tail -n 2 | head -n 1 | cut -d',' -f4 | tr -d '"' ) &&\
|
||||||
|
sed -i "s|rixpkgs.url = \"https://github.com/rstats-on-nix/nixpkgs/archive/[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\.tar\.gz\";|rixpkgs.url = \"https://github.com/rstats-on-nix/nixpkgs/archive/$RVER.tar.gz\";|" flake.nix
|
||||||
|
|
@ -42,6 +42,8 @@
|
||||||
(rWrapper.override {
|
(rWrapper.override {
|
||||||
packages = rpkgs;
|
packages = rpkgs;
|
||||||
})
|
})
|
||||||
|
just
|
||||||
|
wget
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
10
test.R
10
test.R
|
|
@ -1,10 +0,0 @@
|
||||||
ls()
|
|
||||||
library()
|
|
||||||
library(igraph)
|
|
||||||
library(R.utils)
|
|
||||||
library(stats)
|
|
||||||
library(data.table)
|
|
||||||
library(fixest)
|
|
||||||
library(ggplot2)
|
|
||||||
library(dplyr)
|
|
||||||
.packages(TRUE) |> sort()
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue