Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bcc9bf

Browse files
committed
Try adding pkgdown site viausethis::use_pkgdown_github_pages().
1 parent3483988 commit9bcc9bf

File tree

7 files changed

+46
-1
lines changed

7 files changed

+46
-1
lines changed

‎.Rbuildignore‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ LICENSE
1818
^README\.Rmd$
1919
^CODE_OF_CONDUCT\.md$
2020
^CRAN-RELEASE$
21+
^_pkgdown\.yml$
22+
^pkgdown$
23+
^\.github$

‎.github/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

‎.github/workflows/pkgdown.yaml‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
2+
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
3+
on:
4+
push:
5+
branches:[main, master]
6+
release:
7+
types:[published]
8+
workflow_dispatch:
9+
10+
name:pkgdown
11+
12+
jobs:
13+
pkgdown:
14+
runs-on:ubuntu-latest
15+
env:
16+
GITHUB_PAT:${{ secrets.GITHUB_TOKEN }}
17+
steps:
18+
-uses:actions/checkout@v2
19+
20+
-uses:r-lib/actions/setup-pandoc@v1
21+
22+
-uses:r-lib/actions/setup-r@v1
23+
with:
24+
use-public-rspm:true
25+
26+
-uses:r-lib/actions/setup-r-dependencies@v1
27+
with:
28+
extra-packages:pkgdown
29+
needs:website
30+
31+
-name:Deploy package
32+
run:|
33+
git config --local user.name "$GITHUB_ACTOR"
34+
git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
35+
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ packrat/lib*/
55
.Ruserdata
66
sftime.Rproj
77
inst/doc
8+
docs

‎DESCRIPTION‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Type: Package
4646
Encoding: UTF-8
4747
VignetteBuilder: knitr
4848
RoxygenNote: 7.1.2
49+
URL: https://r-spatial.github.io/sftime/, https://github.com/r-spatial/sftime
50+
BugReports: https://github.com/r-spatial/sftime/issues/
4951
Collate:
5052
sftime.R
5153
init.R

‎_pkgdown.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
url:https://r-spatial.github.io/sftime/
2+
template:
3+
bootstrap:5
4+

‎docs/index.html‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp