Skip to content

Commit

Permalink
Merge pull request bcgov#299 from poissonconsulting/licencing
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley authored Jul 6, 2023
2 parents cd1fdc9 + 0d5f388 commit 68ac3aa
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 9 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ssdtools
Title: Species Sensitivity Distributions
Version: 1.0.3.9000
Version: 1.0.4
Authors@R: c(
person("Joe", "Thorley", , "[email protected]", role = c("aut", "cre", "ctr"),
comment = c(ORCID = "0000-0002-7683-4592")),
Expand Down
6 changes: 4 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->

# ssdtools 1.0.3.9000
# ssdtools 1.0.4

- Same as previous version.
- Added contributors.
- Now tests table values to 6 significant figures.
- Fixed bug that was not preserving NaN (returning NA_real_) for cumulative distribution and quantile functions.


# ssdtools 1.0.3
Expand Down
14 changes: 14 additions & 0 deletions R/bcanz.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 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.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

#' BCANZ Distributions
#'
#' Gets a character vector of the names of the distributions
Expand Down
14 changes: 14 additions & 0 deletions R/censored.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 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.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#' Is Censored
#'
#' Tests if an object has censored data.
Expand Down
14 changes: 14 additions & 0 deletions R/seeds.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 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.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

rinteger <- function(n = 1L) {
chk_whole_number(n)
chk_gte(n, 0L)
Expand Down
8 changes: 2 additions & 6 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Test environments

release 4.2.2
release 4.3.0

* OSX (local) - release
* OSX (actions) - release
Expand All @@ -23,8 +23,4 @@ The large size of these subdirectories is necessary.

## CRAN Package Check Results for Package

### Additional issues

#### M1mac

Fixed
Fixed outstanding errors.
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ JOSS
Jaworska
Lifecycle
Mises
NaN
ORCID
Posthuma
Reparamaterized
Expand Down
24 changes: 24 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Platform

|field |value |
|:--------|:-------------------------------------------------------------------------------------------|
|version |R version 4.3.0 (2023-04-21) |
|os |macOS Ventura 13.2.1 |
|system |aarch64, darwin20 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Vancouver |
|date |2023-05-16 |
|rstudio |2023.03.1+446 Cherry Blossom (desktop) |
|pandoc |2.19.2 @ /Applications/RStudio.app/Contents/Resources/app/quarto/bin/tools/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:--------|:-----|:-----|:--|
|ssdtools |1.0.3 |1.0.4 |* |

# Revdeps

7 changes: 7 additions & 0 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## revdepcheck results

We checked 0 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

1 change: 1 addition & 0 deletions revdep/failures.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*
1 change: 1 addition & 0 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*Wow, no problems at all. :)*

0 comments on commit 68ac3aa

Please sign in to comment.