From c3a6b2e7484a01cec066aa6ce8088831c923c1c2 Mon Sep 17 00:00:00 2001 From: jangorecki Date: Fri, 18 Oct 2024 02:38:08 +0200 Subject: [PATCH] tidy up --- .github/workflows/pkgup.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/pkgup.yaml b/.github/workflows/pkgup.yaml index ed1655a..158488b 100644 --- a/.github/workflows/pkgup.yaml +++ b/.github/workflows/pkgup.yaml @@ -43,11 +43,7 @@ jobs: if: github.ref == 'refs/heads/litedown' run: | R CMD INSTALL $(ls -1t pkgup_*.tar.gz | head -n 1) ## seems to be required - ls vignettes/*.Rmd - ls vignettes/*.html 2> /dev/null - ls pkgup/*.Rmd - ls pkgup/*.html 2> /dev/null - Rscript -e 'reorder_input2 = function(x) {i = is_index(x); index = x[i][which.min(nchar(x[i]))]; c(index, rev(setdiff(x, index)))}; environment(reorder_input2) <- asNamespace("litedown"); assignInNamespace("reorder_input", reorder_input2, ns="litedown"); litedown::fuse_site("pkgup")' + Rscript -e 'reorder_input2 = function(x) {i = is_index(x); index = x[i][which.min(nchar(x[i]))]; c(index, rev(setdiff(x, index)))}; environment(reorder_input2) <- asNamespace("litedown"); assignInNamespace("reorder_input", reorder_input2, ns="litedown"); litedown::fuse_site("pkgup")' ## hacking litedown to rev order so ./vignettes/*.html are generated before their index ./vignettes.html mkdir -p public find pkgup -name '*.html' -print0 | cpio -pvdmB --null public ls -R public