Skip to content

Commit df6e57b

Browse files
committed
pkdown site
1 parent 1d7007b commit df6e57b

File tree

5 files changed

+43
-4
lines changed

5 files changed

+43
-4
lines changed

.github/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.html

.github/workflows/pkgdown.yaml

+35
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 "[email protected]"
35+
Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'

DESCRIPTION

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Description: Makes it easy to build panel data in wide format from Panel Survey
1515
waves. There are different panel data designs and sample subsetting criteria
1616
implemented ("SRC", "SEO", "immigrant" and "latino" samples).
1717
Depends: R (>= 3.5.0)
18-
URL: https://github.com/floswald/psidR
18+
URL: https://github.com/floswald/psidR,
19+
http://floswald.github.io/psidR/
1920
Imports:
2021
data.table,
2122
RCurl,

_pkgdown.yml

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
url: http://floswald.github.io/psidR/
2+

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# psidR: make building panel data from PSID easy
55

66

7-
[![Build Status](https://travis-ci.org/floswald/psidR.svg)](https://travis-ci.org/floswald/psidR)
8-
9-
[![Rdoc](http://www.rdocumentation.org/badges/version/psidR)](http://www.rdocumentation.org/packages/psidR)
7+
| Build | DOI | Docs |
8+
|---|---|---|
9+
|[![Build Status](https://travis-ci.org/floswald/psidR.svg)](https://travis-ci.org/floswald/psidR) | [![DOI](https://zenodo.org/badge/9247059.svg)](https://zenodo.org/badge/latestdoi/9247059) | [![DOCS](https://img.shields.io/badge/docs-Documentation-blue)](https://floswald.github.io/psidR)|
1010

1111

1212
This R package provides a function to easily build panel data from PSID raw data.

0 commit comments

Comments
 (0)