Skip to content
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

updating licensing and webpage #315

Merged
merged 9 commits into from
Nov 12, 2023
Merged
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
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Imports:
VGAM
Suggests:
covr,
car,
doFuture,
dplyr,
fitdistrplus,
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export(geom_xribbon)
export(glance)
export(is.fitdists)
export(is_censored)
export(licensing_md)
export(logLik)
export(nobs)
export(npars)
Expand Down
2 changes: 1 addition & 1 deletion R/augment.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/autoplot.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/bcanz.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/boot.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/burrlioz.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/burrrIII3.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/censor.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/censored.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/chk.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/cis.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/coef.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/convergence.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/devtools-helpers.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/dists.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/estimates.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/exposure.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/fit-burrlioz.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/fit.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/gamma.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/getters.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/ggplot.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/ggproto.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/glance.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/gof.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/gompertz.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/hc-burrlioz.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/hc.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/helpers.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/hp.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/internal.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/invpareto.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/is.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/lgumbel.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
22 changes: 22 additions & 0 deletions R/licensing.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#' Licensing Markdown
#'
#' A string of markdown code indicating the licensing of the code
#' and documentation
#' @export
#' @examples
#' licensing_md()
licensing_md <- function() {
"## Licensing

Copyright 2023 Province of British Columbia,
Environment and Climate Change Canada, and
Australian Government Department of
Climate Change, Energy, the Environment and Water

The documentation is released under the
[CC BY 4.0 License](https://creativecommons.org/licenses/by/4.0/)

The code is released under the
[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
"
}
2 changes: 1 addition & 1 deletion R/llogis-llogis.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/llogis.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/lnorm-lnorm.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/lnorm.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/logLik.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/match-moments.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/nobs.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/npars.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions R/params.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -107,4 +107,4 @@
#' @param ... Unused.
#' @keywords internal
#' @name params
NULL
NULL
2 changes: 1 addition & 1 deletion R/plot-cdf.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/plot-cf.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/plot-data.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/plot.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/pqr.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/predict.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/print.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/seeds.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/ssd-data.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/ssd-plot.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/ssdtools-package.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/subset.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/summary.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/test-helpers.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/tidy.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Province of British Columbia
# Copyright 2023 Province of British Columbia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion R/tmb.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Environment and Climate Change Canada
# Copyright 2023 Environment and Climate Change Canada
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Loading
Loading