Skip to content

Commit 9cc622e

Browse files
committed
bump version, adjusting CRAN checks
1 parent 2dc6142 commit 9cc622e

17 files changed

+90
-61
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: lognorm
22
Title: Functions for the Lognormal Distribution
3-
Version: 0.1.8
3+
Version: 0.1.9
44
Author: Thomas Wutzler
55
Maintainer: Thomas Wutzler <twutz@bgc-jena.mpg.de>
66
Description: The lognormal distribution
@@ -13,7 +13,7 @@ Description: The lognormal distribution
1313
difference of two correlated lognormally distributed variables
1414
(Lo 2012 <doi:10.1155/2012/838397>).
1515
Imports: Matrix
16-
Suggests: testthat, knitr, dplyr, ggplot2, mvtnorm, purrr, tidyr
16+
Suggests: markdown, rmarkdown, testthat, knitr, dplyr, ggplot2, mvtnorm, purrr, tidyr
1717
VignetteBuilder: knitr
1818
License: GPL-2
1919
LazyData: true

NEWS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# lognorm 0.1.9
2-
- Improved handling of missing values in computeEffectiveNumObs
2+
- Less bias with missing values in computeEffectiveNumObs
33
- New function varCor to compute unbiased variance of uncorrelated time series
44
- seCor now based on varCor, which reduces bias for small number of effective
55
observations.

R/coefLognorm.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ getParmsLognormForLowerAndUpperLog <- function(
6464
#' i.e. practical maximum
6565
#' @param sigmaFac sigmaFac=2 is 95\% sigmaFac=2.6 is 99\% interval.
6666
#'
67-
#' @return numeric matrix wiht columns `mu` and `sigma`, the parameter of the
67+
#' @return numeric matrix with columns `mu` and `sigma`, the parameter of the
6868
#' lognormal distribution. Rows correspond to rows of inputs.
6969
#' @export
7070
#' @examples
@@ -171,7 +171,7 @@ getParmsLognormForExpval <- function(mean, sigmaStar){
171171
#' NA values should be stripped before the computation proceeds.
172172
#'
173173
#' @return numeric vector with components \code{mu} and \code{sigma},
174-
#' ie.., the center parameter (mean at log scale, log(median)) and
174+
#' i.e., the center parameter (mean at log scale, log(median)) and
175175
#' the scale parameter (standard deviation at log scale)
176176
#'
177177
#' @examples

R/lognormalDiff.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#' Inference on the difference of two lognormals
22
#'
3-
#' The distribtuion of y = a - b + s, where a and b are two lognormal random
3+
#' The distribution of y = a - b + s, where a and b are two lognormal random
44
#' variables and s is a constant to be estimated, can be approximated
55
#' by a lognormal distribution.
66
#'

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ abline(v = getLognormMode(coefSum["mu"], coefSum["sigma"]), lty = "dashed")
7272
abline(v = getLognormMedian(coefSum["mu"], coefSum["sigma"]), lty = "dotdash")
7373
```
7474

75-
The sum of the expected values is conserved, while the mutliplicative standard
75+
The sum of the expected values is conserved, while the multiplicative standard
7676
deviation decreases during aggregation:
7777

7878
```{r}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ abline(v = getLognormMedian(coefSum["mu"], coefSum["sigma"]), lty = "dotdash")
5858

5959
![](tools/README-example-1.png)
6060

61-
The sum of the expected values is conserved, while the mutliplicative standard deviation decreases during aggregation:
61+
The sum of the expected values is conserved, while the multiplicative standard deviation decreases during aggregation:
6262

6363
``` r
6464
c(

cran-comments.md

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,17 @@
11
## Note
2-
Added support for computing moments and statistics.
3-
4-
Changed doi format (brackets) in DESCRIPTION according to
5-
comment from Uwe Ligges from
6-
10.1641/0006-3568(2001)051[0341:lndats]2.0.co;2
7-
to
8-
10.1641/0006-3568(2001)051%5B0341:lndats%5D2.0.co;2
9-
10-
And changed back to original doi after second comment
11-
by Uwe Ligges
12-
13-
Changed again to escaped form after email from Kurt Hornik.
14-
15-
Removed link to md file in vignette. (The link worked nice on github but not
16-
for the installed package.)
2+
* better support for missing values
173

184
## Test environments
19-
with old doi
20-
* local R 3.4.4 on Mint17 64bit
21-
* Ubuntu 14.04.5 LTS (on travis-ci), 14.04
22-
* win-builder (devel)
23-
* R-Hub
24-
25-
with updated doi and link:
26-
* local R 3.4.4 on Mint17 64bit
5+
* local R 4.0.4 on Mint21 64bit
6+
* R-hub
7+
** Ubuntu Linux 20.04.1 LTS, R-release, GCC
8+
** Fedora Linux, R-devel, clang, gfortran
9+
** windows-x86_64-devel (with env_vars=c(R_COMPILE_AND_INSTALL_PACKAGES = "always")
2710

2811
## R CMD check results
29-
Note on problem with doi
12+
* 1 Note on (possibly) invalid DOIs:
13+
** After changing to escaped form after email from Kurt Hornik in a previous release.
14+
*** In contrast Uwe Ligges was in favour of the plain version. This went back and forth
15+
already several times
16+
** The plain correct version is: 10.1641/0006-3568(2001)051[0341:LNDATS]2.0.CO;2
3017

31-

inst/WORDLIST

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
Limpert
2+
Zieba
3+
aggregateCorrelated
4+
al
5+
ams
6+
anc
7+
autocorrelated
8+
computeEffectiveNumObs
9+
doi
10+
effCor
11+
estimateDiffLognormal
12+
estimateSumLognormal
13+
et
14+
gapfilled
15+
getParmsLognormForLowerAndUpper
16+
getParmsLognormForLowerAndUpperLog
17+
ij
18+
inlinedocs
19+
isGapFilled
20+
isTransScale
21+
ln
22+
lndats
23+
logmean
24+
lognormalSum
25+
lognormally
26+
md
27+
nObs
28+
na
29+
nfin
30+
operatorname
31+
pDiffLognormalSample
32+
precomputed
33+
roxygen
34+
scaleLogToOrig
35+
sd
36+
seCor
37+
sigmaFac
38+
sigmaStar
39+
varCor
40+
μ
41+
ρ
42+
σ

man/estimateDiffLognormal.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/estimateParmsLognormFromSample.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)