Skip to content

Commit

Permalink
getting ready for cran
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Oct 5, 2018
1 parent b350c71 commit 2265989
Show file tree
Hide file tree
Showing 62 changed files with 113 additions and 78 deletions.
3 changes: 2 additions & 1 deletion .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@
^CODE_OF_CONDUCT.md$
^CONTRIBUTING.md$
^docs$
^build.R$
^build.R$
^cran-comments\.md$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: ssdtools
Version: 0.0.1.9003
Version: 0.0.2
Date: 2018-10-04
Title: Species Sensitivity Distributions
Description: Fits and plots species sensitivity distributions using
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# ssdtools 0.0.2

* Added contributors
* Added hex

# ssdtools 0.0.1

* Initial Release
2 changes: 2 additions & 0 deletions R/hc.R
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ ssd_hc.fitdist <- function(x, hc = 5L, nboot = 1001, level = 0.95, ...) {
#' @describeIn ssd_hc Hazard Concentration
#' @export
#' @examples
#' \dontrun{
#' ssd_hc(fluazinam_lnorm)
#' }
ssd_hc.fitdistcens <- function(x, hc = 5L, nboot = 1001, level = 0.95, ...) {
check_vector(hc, c(1L,99L), length = 1)
predict(x, percent = hc, nboot = nboot, level = level)
Expand Down
2 changes: 2 additions & 0 deletions R/predict.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ predict.fitdist <- function(object, percent = 1:99,
#' @inheritParams predict.fitdists
#' @export
#' @examples
#' \dontrun{
#' predict(fluazinam_lnorm, percent = c(5L, 50L))
#' }
predict.fitdistcens <- function(object, percent = 1:99,
nboot = 1001, level = 0.95, ...) {
check_vector(percent, c(1L, 99L), length = c(1, Inf),
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ ssd_hc(boron_dists)
#> # A tibble: 1 x 5
#> percent est se lcl ucl
#> <int> <dbl> <dbl> <dbl> <dbl>
#> 1 5 1.25 0.747 0.603 3.18
#> 1 5 1.25 0.717 0.619 3.13
```

Model-averaged predictions complete with confidence intervals can be
Expand Down Expand Up @@ -154,7 +154,7 @@ See the `data-raw` folder for more information.
To cite package 'ssdtools' in publications use:
Joe Thorley and Carl Schwarz (2018). ssdtools: Species
Sensitivity Distributions. R package version 0.0.1.9002.
Sensitivity Distributions. R package version 0.0.1.9003.
https://github.com/bcgov/ssdca
A BibTeX entry for LaTeX users is
Expand All @@ -163,7 +163,7 @@ A BibTeX entry for LaTeX users is
title = {ssdtools: Species Sensitivity Distributions},
author = {Joe Thorley and Carl Schwarz},
year = {2018},
note = {R package version 0.0.1.9002},
note = {R package version 0.0.1.9003},
url = {https://github.com/bcgov/ssdca},
}
```
Expand Down
15 changes: 15 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Test environments

* local OS X install, R 3.5.1
* ubuntu 12.04 (on travis-ci), R 3.5.1
* win-builder (devel and release)

## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.

## Reverse dependencies

This is a new release, so there are no reverse dependencies.
2 changes: 1 addition & 1 deletion docs/CODE_OF_CONDUCT.html

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

2 changes: 1 addition & 1 deletion docs/CONTRIBUTING.html

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

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

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

2 changes: 1 addition & 1 deletion docs/articles/index.html

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

20 changes: 10 additions & 10 deletions docs/articles/ssdca.html

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

Binary file modified docs/articles/ssdca_files/figure-html/unnamed-chunk-1-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/ssdca_files/figure-html/unnamed-chunk-6-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/articles/ssdca_files/figure-html/unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/authors.html

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

8 changes: 4 additions & 4 deletions docs/index.html

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

11 changes: 10 additions & 1 deletion docs/news/index.html

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

2 changes: 1 addition & 1 deletion docs/reference/autoplot.fitdist.html

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

2 changes: 1 addition & 1 deletion docs/reference/autoplot.fitdistcens.html

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

2 changes: 1 addition & 1 deletion docs/reference/autoplot.fitdists.html

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

2 changes: 1 addition & 1 deletion docs/reference/autoplot.fitdistscens.html

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

2 changes: 1 addition & 1 deletion docs/reference/boron_data.html

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

2 changes: 1 addition & 1 deletion docs/reference/boron_dists.html

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

2 changes: 1 addition & 1 deletion docs/reference/boron_lnorm.html

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

2 changes: 1 addition & 1 deletion docs/reference/boron_pred.html

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

2 changes: 1 addition & 1 deletion docs/reference/ccme_data.html

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

2 changes: 1 addition & 1 deletion docs/reference/comma_signif.html

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

2 changes: 1 addition & 1 deletion docs/reference/fluazinam_dists.html

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

2 changes: 1 addition & 1 deletion docs/reference/fluazinam_lnorm.html

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

2 changes: 1 addition & 1 deletion docs/reference/fluazinam_pred.html

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

2 changes: 1 addition & 1 deletion docs/reference/geom_hcintersect.html

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

Loading

0 comments on commit 2265989

Please sign in to comment.