Skip to content

Commit 345e336

Browse files
authored
rename to correct name and simplify for R 4.4+ (#7337)
1 parent d38ecfb commit 345e336

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/pkgup.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
branches:
1313
- 'master'
1414

15-
name: pkgdown-deploy
15+
name: pkgup-deploy
1616

1717
jobs:
1818
build:
@@ -47,16 +47,9 @@ jobs:
4747
- name: manual
4848
if: github.ref == 'refs/heads/master'
4949
run: |
50-
cp -R ${{ env.R_LIBS_USER }} library
51-
R CMD INSTALL --library="library" $(ls -1t data.table_*.tar.gz | head -n 1) --html
52-
mkdir -p doc/html
53-
cp $(R RHOME)/doc/html/{left.jpg,up.jpg,Rlogo.svg,R.css,index.html} doc/html
54-
Rscript -e 'utils::make.packages.html("library", docdir="doc")'
55-
sed -i "s|file://|../..|g" doc/html/packages.html
50+
R CMD INSTALL $(ls -1t data.table_*.tar.gz | head -n 1)
5651
mkdir -p public
57-
mv doc public/doc
58-
cp -r --parents library/*/{html,help,doc,demo,DESCRIPTION,README,NEWS,README.md,NEWS.md} public 2>/dev/null || :
59-
sed -i 's|"/doc/html/|"/data.table/doc/html/|g' public/library/data.table/doc/index.html 2>/dev/null || :
52+
Rscript -e 'tools::pkg2HTML("data.table", out="public/index.html")'
6053
- name: repo
6154
if: github.ref == 'refs/heads/master'
6255
run: |

0 commit comments

Comments
 (0)