Skip to content

Commit

Permalink
satify R CMD check (see tidyverse/magrittr#29 )
Browse files Browse the repository at this point in the history
  • Loading branch information
fsolt committed Jun 25, 2018
1 parent 456e7ff commit 2d85a5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/read_ascii.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
#' @param var_positions A numeric vector of the column positions in which \code{var_names} are recorded.
#' @param var_widths A numeric vector of the widths used to record \code{var_names}.
#'
#' @details
#'
#' @return A data frame containing the variables specified in the \code{var_names} argument, plus a numeric \code{respondent} identifier and as many string \code{card} variables (\code{card1}, \code{card2}, ...) as specified by the \code{total_cards} argument.
#'
#' @examples
Expand All @@ -36,7 +34,9 @@ read_ascii <- function(file,
var_cards = 1,
var_positions,
var_widths) {


. <- NULL # satisfy R CMD check

if (length(var_cards) == 1) {
var_cards = rep(var_cards, length(var_names))
}
Expand Down

0 comments on commit 2d85a5a

Please sign in to comment.