Skip to content

Commit

Permalink
fixing 02 apptainer
Browse files Browse the repository at this point in the history
  • Loading branch information
explodecomputer committed Jan 16, 2025
1 parent 3d646c5 commit 9a0673f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ RUN R -e 'options( \
renv::install(c("stringi", "git2r")); \
renv::restore(repos = c(CRAN = "https://packagemanager.posit.co/cran/__linux__/jammy/latest"))'

COPY . .
COPY . .
COPY .git/ ./.git/
3 changes: 1 addition & 2 deletions resources/phenotypes/organise_phenotypes.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ organise_phenotype("bmiz", phenotypes, df, gen_covs, covdat, agebins, pl=TRUE)
Get git version

```{r version}
g <- git2r::revparse_single(here(), "HEAD")
g
try(git2r::revparse_single(here(), "HEAD"), silent=TRUE)
```

Session info
Expand Down
3 changes: 2 additions & 1 deletion resources/render.r
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ library(here)
library(rmarkdown)

args <- commandArgs(T)
rmarkdown::render(args[1], output_dir=args[2])
print(args)
rmarkdown::render(args[1], intermediates_dir=args[2], knit_root_dir=args[2], output_dir=args[2])

0 comments on commit 9a0673f

Please sign in to comment.