Skip to content

Commit

Permalink
Fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
paulstaab committed Nov 2, 2019
1 parent aa8d18e commit 8a46978
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions R/scrm.R
Expand Up @@ -4,9 +4,10 @@
#' approximation of the Ancestral Recombination Graph. It can be used to
#' simulate the neutral evolution of chromosomes/biological sequences
#' subject to possibly complicated population structure.
#' The program \emph{scrm} is an implementation of this model that is designed to
#' act as an drop-in replacement for the widely adopted coalescent simulator
#' \emph{ms}. This package contains \emph{scrm} along with an R interface.
#' The program \emph{scrm} is an implementation of this model that is designed
#' to act as an drop-in replacement for the widely adopted coalescent
#' simulator \emph{ms}.
#' This package contains \emph{scrm} along with an R interface.
#'
#' @author
#' Paul Staab,
Expand All @@ -24,7 +25,8 @@
#' @seealso
#' \itemize{
#' \item \code{\link{scrm}} for details on how to use \emph{scrm},
#' \item \code{vignette('scrm-Arguments')} for an overview of command line arguments and
#' \item \code{vignette('scrm-Arguments')} for an overview of command line
#' arguments and
#' \item \code{vignette('scrm-TreesForApe')} for an example on using
#' genealogies simulated with \emph{scrm} with package 'ape'.
#' }
Expand Down

3 comments on commit 8a46978

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/scrm.R:8:70: style: Trailing whitespace is superfluous.

#' to act as an drop-in replacement for the widely adopted coalescent 
                                                                     ^

R/scrm.R:9:24: style: Trailing whitespace is superfluous.

#' simulator \emph{ms}. 
                       ^

R/scrm.R:28:77: style: Trailing whitespace is superfluous.

#'   \item \code{vignette('scrm-Arguments')} for an overview of command line 
                                                                            ^

tests/testthat/test-summary-statistics.R:84:13: warning: Avoid 1:nrow(...) expressions, use seq_len.

for (i in 1:nrow(sum_stats$sfs)) {
            ^

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/scrm.R:8:70: style: Trailing whitespace is superfluous.

#' to act as an drop-in replacement for the widely adopted coalescent 
                                                                     ^

R/scrm.R:9:24: style: Trailing whitespace is superfluous.

#' simulator \emph{ms}. 
                       ^

R/scrm.R:28:77: style: Trailing whitespace is superfluous.

#'   \item \code{vignette('scrm-Arguments')} for an overview of command line 
                                                                            ^

tests/testthat/test-summary-statistics.R:84:13: warning: Avoid 1:nrow(...) expressions, use seq_len.

for (i in 1:nrow(sum_stats$sfs)) {
            ^

@lintr-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

R/scrm.R:8:70: style: Trailing whitespace is superfluous.

#' to act as an drop-in replacement for the widely adopted coalescent 
                                                                     ^

R/scrm.R:9:24: style: Trailing whitespace is superfluous.

#' simulator \emph{ms}. 
                       ^

R/scrm.R:28:77: style: Trailing whitespace is superfluous.

#'   \item \code{vignette('scrm-Arguments')} for an overview of command line 
                                                                            ^

tests/testthat/test-summary-statistics.R:84:13: warning: Avoid 1:nrow(...) expressions, use seq_len.

for (i in 1:nrow(sum_stats$sfs)) {
            ^

Please sign in to comment.