Skip to content

Commit

Permalink
Fixed small errors to prevent notes in R CMD check
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasnell committed Mar 18, 2019
1 parent 2987e12 commit 4dd767d
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 13 deletions.
7 changes: 3 additions & 4 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
^\.Rprofile$
^\.travis\.yml$
^README\.Rmd$
^under_constr$
^under_constr
^_crash_test\.R$
^gfiles$
^methods$
^data-raw$
^methods
^data-raw
^diagnostics
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ src/*.dll
inst/doc
*.bk
*.desc
gfiles
Gac
gemino_*.tgz
*.pdf
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ export(ref_genome)
export(variants)
export(write_fasta)
importFrom(Rcpp,evalCpp)
importFrom(utils,read.csv)
useDynLib(gemino, .registration = TRUE)
11 changes: 9 additions & 2 deletions R/illumina.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

#' Return table of information about built-in Illumina profiles.
#'
#'
#' @importFrom utils read.csv
#'
#' @noRd
#'
builtin_illumina_profiles <- function() {
Expand Down Expand Up @@ -505,8 +508,12 @@ check_illumina_args <- function(seq_object, n_reads,
#' sequencing read simulator. \emph{Bioinformatics} \strong{28}:593–594.
#'
#' @examples
#'
#'
#' \dontrun{
#' rg <- create_genome(10, 100e3, 100)
#' illumina(rg, "illumina_reads", n_reads = 100,
#' read_length = 100, paired = FALSE,
#' frag_mean = 400, frag_sd = 100)
#' }
#'
illumina <- function(seq_object,
out_prefix,
Expand Down
6 changes: 4 additions & 2 deletions R/pacbio.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,10 @@ check_pacbio_args <- function(seq_object,
#' read data. \emph{Bioinformatics} \strong{32}:2704–2706.
#'
#' @examples
#'
#'
#' \dontrun{
#' rg <- create_genome(10, 100e3, 100)
#' pacbio(rg, "pacbio_reads", n_reads = 100)
#' }
#'
pacbio <- function(seq_object,
out_prefix,
Expand Down
8 changes: 6 additions & 2 deletions man/illumina.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions man/pacbio.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4dd767d

Please sign in to comment.