Skip to content

Adding Travis-CI and pkgdown site #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
^tdor.*\.tgz$
^doc$
^Meta$
^_pkgdown\.yml$
^docs$
^pkgdown$
^\.travis\.yml$
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ tdor*.tar.gz
tdor*.tgz
doc
Meta
docs/
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: R
cache: packages
warnings_are_errors: true
sudo: false
cache: packages
os:
- linux
r:
- devel
before_deploy: Rscript -e 'remotes::install_cran("pkgdown"); covr::codecov();'
git:
depth: 9999999
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
6 changes: 4 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ License: CC0
Encoding: UTF-8
LazyData: true
Depends: R (>= 2.10)
RoxygenNote: 6.1.1
RoxygenNote: 7.0.0
Suggests:
dplyr,
gganimate,
Expand All @@ -24,5 +24,7 @@ Suggests:
knitr,
lubridate,
maps,
rmarkdown
rmarkdown,
stringr,
pkgdown
VignetteBuilder: knitr
4 changes: 3 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ knitr::opts_chunk$set(
out.width = "100%"
)
```

<!-- badges: start -->
[![Travis build status](https://travis-ci.org/CaRdiffR/tdor.svg?branch=master)](https://travis-ci.org/CaRdiffR/tdor)
<!-- badges: end -->
# tdor

**tdor** provides data on killings and suicides of transgender people, as
Expand Down
1 change: 1 addition & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
destination: docs