Skip to content

Commit

Permalink
Update transform-notebooks.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vsyrgkanis authored Jul 30, 2024
1 parent 291298e commit 6c7736f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/transform-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ jobs:
fi
done
echo "Converting .irnb to .Rmd to update the .Rmd version"
# first we delete all Rmd files and regenerate. This will make sure
# that if a .irnb file is deleted then the corresponding .Rmd file
# will also be removed by this script.
rm "$dir"/*.Rmd
R -e "
files <- list.files(path = '$dir', pattern = '\\\\.irnb$', full.names = TRUE, recursive = FALSE)
lapply(files, function(input) {
Expand Down

0 comments on commit 6c7736f

Please sign in to comment.