\name{NEWS}
\title{News for Package \pkg{BE}}

\section{Version 0.3.0 (2026-07-29)}{
  \itemize{
    \item{\code{test2x2} no longer computes the sums of squares from the closed-form 2x2 formulae. The model \code{log(Var) ~ GRP/SUBJ + PRD + TRT} is now fitted with the \pkg{sasLM} package: the analysis of variance comes from \code{sasLM::T3test} (Type III sums of squares, GROUP tested against SUBJECT(GROUP)), the geometric least square means from \code{sasLM::LSM}, and the confidence interval from \code{sasLM::CIest}. All reported values are unchanged apart from floating-point noise.}
    \item{The analysis of variance table now lists \code{Df} before \code{Sum Sq}, matching SAS PROC GLM and \pkg{sasLM}. The rows and their contents are unchanged.}
    \item{\code{test2x2} now stops with a message if the \code{TRT} column holds anything other than 'R' and 'T'.}
    \item{The \pkg{rtf} package is back on CRAN, so \pkg{BE} depends on it again. The vendored copy of its functions (\file{R/rtf_utils.R}, added in 0.2.5) is removed, along with the \pkg{R.oo} and \pkg{R.methodsS3} imports it needed.}
  }
}

\section{Version 0.2.5 (2026-07-11)}{
  \itemize{
    \item{The dependency on the archived \pkg{rtf} package was removed. The subset of \pkg{rtf} functions required by \code{be2x2} is now vendored internally in \file{R/rtf_utils.R} (originally authored by Michael E. Schaffer, GPL (>= 2)); \pkg{BE} now imports \pkg{R.oo} and \pkg{R.methodsS3} for the RTF object system.}
    \item{The example dataset \code{NCAResult4BE} moved from internal \file{R/sysdata.rda} to \file{data/} with \code{LazyData}.}
    \item{\code{NAMESPACE} now uses explicit exports (instead of a broad pattern) and registers the internal RTF S3 methods.}
    \item{\code{be2x2} no longer opens on-screen graphics devices when writing an RTF report.}
    \item{Corrected the mean-and-SD panel of \code{plot2x2} (error-bar whisker and label position); no test result is affected.}
    \item{Documentation typos and inaccurate \\value/\\details sections fixed; internal formula duplication removed.}
    \item{\code{powmse} now uses the standard TOST power \code{p1 - p2} (previously \code{p1 - p1*p2}, which overstated power); this also affects \code{powcv}, \code{ssmse}, \code{sscv}, \code{ssscv} and the sample-size rows of \code{test2x2}. Some determined sample sizes increase by about one subject per sequence.}
    \item{\code{hodges} nonparametric 90\% confidence-interval limits corrected (off-by-one in the order statistics; also removes an error at the smallest samples). The test is renamed to Wilcoxon Rank-Sum (Mann-Whitney) and its p-value is now two-sided.}
    \item{\code{scaledBound} applies the 50\% CV cap only to the EMA/MFDS bound (\code{k} = 0.76); the US FDA bound (\code{k} = 0.893) is no longer capped.}
  }
}

\section{Version 0.2.4 (2022-12-28)}{
  \itemize{
    \item{trimws is used for the input data.frame}
  }
}

\section{Version 0.2.3 (2022-09-07)}{
  \itemize{
    \item{Some quotation mark UTF-8 characters in the rtf file are changed to ASCII code}
    \item{Some typo fixed}
  }
}

\section{Version 0.2.2 (2022-08-08)}{
  \itemize{
    \item{Too low power or too large sample size are reported better.}
  }
}

\section{Version 0.2.1 (2022-05-02)}{
  \itemize{
    \item{sssCV and scaledBound for scaled average BE now support US FDA criteria.}
  }
}

\section{Version 0.2.0 (2022-04-02)}{
  \itemize{
    \item{sscv and ssmse return power value as an attribute.}
    \item{Interval criteria for scaled average BE can be calculated with scaledBound function}
  }
}

\section{Version 0.1.5 (2021-12-16)}{
  \itemize{
    \item{Asterisks are shown in the ANOVA table}
    \item{Negative between-subject variance will be shown as 0.}
  }
}

\section{Version 0.1.4 (2021-11-16)}{
  \itemize{
    \item{Beutified ANOVA result in test2x2 and be2x2}
  }
}

\section{Version 0.1.3 (2021-06-21)}{
  \itemize{
    \item{Minor update due to the upgrading of R system}
  }
}

\section{Version 0.1.2 (2020-09-24)}{
  \itemize{
    \item{2x2x3 design is supported. See the help of \code{powmse}.}
  }
}

\section{Version 0.1.1 (2018-07-18)}{
  \itemize{
    \item{\code{be2x2} supports output to be saved in a rtf file}
  }
}

\section{Version 0.1.0 (2018-06-18)}{
  \itemize{
    \item{First version}
  }
}
