Skip to content

Commit

Permalink
Enable pkgdown website for simcdm (#17)
Browse files Browse the repository at this point in the history
* Enable pkgdown website for simcdm

* Add badges markup

* Add site link
  • Loading branch information
coatless committed Nov 5, 2019
1 parent 7aef051 commit 7a0a947
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 18 deletions.
4 changes: 4 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
^CRAN-RELEASE$
^codecov\.yml$
^.*\.Rproj$
^\.Rproj\.user$
Expand All @@ -7,3 +8,6 @@
^README-.*\.png$
^\.travis\.yml$
^cran-comments\.md$
^_pkgdown\.yml$
^docs$
^pkgdown$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ inst/doc
src/*.o
src/*.so
src/*.dll
docs/
CRAN-RELEASE
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,16 @@ env:
jobs:
include:
- r: release
after_success:
- Rscript -e 'covr::codecov()'
before_cache: Rscript -e 'remotes::install_cran("pkgdown")'
deploy:
provider: script
script: Rscript -e 'pkgdown::deploy_site_github()'
skip_cleanup: true
- r: devel
- r: oldrel

# If one fails, avoid running the other.
matrix:
fast_finish: true

# Enable coverage check on unit tests
after_success:
- Rscript -e 'covr::codecov()'
fast_finish: true
14 changes: 7 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: simcdm
Type: Package
Title: Simulate Cognitive Diagnostic Model ('CDM') Data
Version: 0.1.1
Version: 0.1.1.900
Authors@R: c(person("James Joseph", "Balamuta",
email = "balamut2@illinois.edu",
role = c("aut", "cre", "cph"),
Expand All @@ -24,20 +24,20 @@ Description: Provides efficient R and 'C++' routines to simulate cognitive diagn
Culpepper and Hudson (2017) <doi: 10.1177/0146621617707511>,
Culpepper (2015) <doi:10.3102/1076998615595403>, and
de la Torre (2009) <doi:10.3102/1076998607309474>.
URL: https://tmsalab.github.io/simcdm, https://github.com/tmsalab/simcdm
BugReports: https://github.com/tmsalab/simcdm/issues
License: GPL (>= 2)
Depends:
R (>= 3.4.0)
Imports: Rcpp (>= 1.0.0)
LinkingTo: Rcpp,
RcppArmadillo (>= 0.9.200)
URL: https://github.com/tmsalab/simcdm
BugReports: https://github.com/tmsalab/simcdm/issues
License: GPL (>= 2)
RoxygenNote: 6.1.1
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
Suggests:
testthat,
covr,
knitr,
rmarkdown
VignetteBuilder: knitr
RoxygenNote: 6.1.1
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# simcdm 0.1.1.900

## Documentation

- Added a `pkgdown` website that deploys to <http://tmsalab.github.io/dina>.

# simcdm 0.1.1

## Changes
Expand Down
7 changes: 4 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ knitr::opts_chunk$set(

# simcdm

[![Build Status](https://travis-ci.org/tmsalab/simcdm.svg)](https://travis-ci.org/tmsalab/simcdm)
<!-- badges: start -->
[![Build Status](https://travis-ci.com/tmsalab/simcdm.svg)](https://travis-ci.com/tmsalab/simcdm)
[![Package-License](http://img.shields.io/badge/license-GPL%20(%3E=2)-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html)
[![CRAN Version Badge](http://www.r-pkg.org/badges/version/simcdm)](https://cran.r-project.org/package=simcdm)
[![CRAN Status](https://cranchecks.info/badges/worst/simcdm)](https://cran.r-project.org/web/checks/check_results_simcdm.html)
[![RStudio CRAN Mirror's Monthly Downloads](http://cranlogs.r-pkg.org/badges/simcdm?color=brightgreen)](http://www.r-pkg.org/pkg/simcdm)
[![RStudio CRAN Mirror's Total Downloads](http://cranlogs.r-pkg.org/badges/grand-total/simcdm?color=brightgreen)](http://www.r-pkg.org/pkg/simcdm)
[![Coverage status](https://codecov.io/gh/tmsalab/simcdm/branch/master/graph/badge.svg)](https://codecov.io/github/tmsalab/simcdm?branch=master)

[![Coverage test coverage](https://codecov.io/gh/tmsalab/simcdm/branch/master/graph/badge.svg)](https://codecov.io/github/tmsalab/simcdm?branch=master)
<!-- badges: end -->

The goal of `simcdm` is to provide flexible ways to simulate data under
cognitive diagnostic models.
Expand Down
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@

# simcdm

<!-- badges: start -->

[![Build
Status](https://travis-ci.org/tmsalab/simcdm.svg)](https://travis-ci.org/tmsalab/simcdm)
Status](https://travis-ci.com/tmsalab/simcdm.svg)](https://travis-ci.com/tmsalab/simcdm)
[![Package-License](http://img.shields.io/badge/license-GPL%20\(%3E=2\)-brightgreen.svg?style=flat)](http://www.gnu.org/licenses/gpl-2.0.html)
[![CRAN Version
Badge](http://www.r-pkg.org/badges/version/simcdm)](https://cran.r-project.org/package=simcdm)
Expand All @@ -14,8 +16,9 @@ Status](https://cranchecks.info/badges/worst/simcdm)](https://cran.r-project.org
Downloads](http://cranlogs.r-pkg.org/badges/simcdm?color=brightgreen)](http://www.r-pkg.org/pkg/simcdm)
[![RStudio CRAN Mirror’s Total
Downloads](http://cranlogs.r-pkg.org/badges/grand-total/simcdm?color=brightgreen)](http://www.r-pkg.org/pkg/simcdm)
[![Coverage
status](https://codecov.io/gh/tmsalab/simcdm/branch/master/graph/badge.svg)](https://codecov.io/github/tmsalab/simcdm?branch=master)
[![Coverage test
coverage](https://codecov.io/gh/tmsalab/simcdm/branch/master/graph/badge.svg)](https://codecov.io/github/tmsalab/simcdm?branch=master)
<!-- badges: end -->

The goal of `simcdm` is to provide flexible ways to simulate data under
cognitive diagnostic models.
Expand Down
4 changes: 4 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
template:
params:
bootswatch: cerulean
ganalytics: UA-151562227-1
1 change: 1 addition & 0 deletions man/simcdm-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a0a947

Please sign in to comment.