Skip to content

Commit

Permalink
- licensing_md() to - ssd_licensing_md().
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed May 23, 2024
1 parent efd325d commit 2ae0363
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 461 deletions.
2 changes: 1 addition & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export(geom_xribbon)
export(glance)
export(is.fitdists)
export(is_censored)
export(licensing_md)
export(logLik)
export(nobs)
export(npars)
Expand Down Expand Up @@ -97,6 +96,7 @@ export(ssd_hc_burrlioz)
export(ssd_hp)
export(ssd_hp_bcanz)
export(ssd_is_censored)
export(ssd_licensing_md)
export(ssd_match_moments)
export(ssd_pal)
export(ssd_pburrIII3)
Expand Down
4 changes: 2 additions & 2 deletions R/licensing.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#' and documentation
#' @export
#' @examples
#' licensing_md()
licensing_md <- function() {
#' ssd_licensing_md()
ssd_licensing_md <- function() {
"## Licensing
Copyright 2018-2024 Province of British Columbia\\
Copyright 2021 Environment and Climate Change Canada\\
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,5 @@ If you would like to contribute to the package, please see our
Please note that the ssdtools project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/1/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```
2 changes: 1 addition & 1 deletion _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ reference:
- '`comma_signif`'
- '`dist_data`'
- '`is.fitdists`'
- '`licensing_md`'
- '`ssd_licensing_md`'
- '`npars`'
- '`ssd_data`'
- '`ssd_ecd`'
Expand Down
8 changes: 4 additions & 4 deletions man/licensing_md.Rd → man/ssd_licensing_md.Rd

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

2 changes: 1 addition & 1 deletion tests/testthat/test-licensing.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
test_that("licensing works", {
expect_true(chk::vld_string(licensing_md()))
expect_true(chk::vld_string(ssd_licensing_md()))
})
2 changes: 1 addition & 1 deletion vignettes/additional-technical-details.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,5 @@ We recognise the last expression as the *cdf* of a Weibull distribution with par


```{r, results = "asis", echo = FALSE}
cat(ssdtools::licensing_md())
cat(ssdtools::ssd_licensing_md())
```
444 changes: 0 additions & 444 deletions vignettes/additional-technical-details.log

This file was deleted.

2 changes: 1 addition & 1 deletion vignettes/articles/confidence-intervals.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -176,5 +176,5 @@ p3
<div id="refs"></div>

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```
2 changes: 1 addition & 1 deletion vignettes/customising-plots.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,5 @@ gp +
<div id="refs"></div>

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```
2 changes: 1 addition & 1 deletion vignettes/distributions.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -786,5 +786,5 @@ The inverse Weibull (log-Gumbel) distribution can be fitted in `ssdtools` by sup
<div id="refs"></div>

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```
2 changes: 1 addition & 1 deletion vignettes/faqs.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ ssd_plot(ccme_boron, boron_preds, xlab = "Concentration (mg/L)", ci = FALSE) +
<div id="refs"></div>

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```

2 changes: 1 addition & 1 deletion vignettes/model-averaging.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ Please see the [Getting started with ssdtools](https://poissonconsulting.github.
<div id="refs"></div>

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```


2 changes: 1 addition & 1 deletion vignettes/ssdtools.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -260,5 +260,5 @@ right_censored_dists <- try(ssd_fit_dists(right_censored_example,
<div id="refs"></div>

```{r, results = "asis", echo = FALSE}
cat(licensing_md())
cat(ssd_licensing_md())
```

0 comments on commit 2ae0363

Please sign in to comment.