Skip to content

Commit

Permalink
Clarify what happens when variable isn't specified.
Browse files Browse the repository at this point in the history
Closes #132
  • Loading branch information
hadley committed Apr 16, 2015
1 parent 88263db commit f330023
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 7 deletions.
3 changes: 2 additions & 1 deletion R/col_types.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
#' If a list, it must contain one "\code{\link{collector}}" for each column.
#' If you only want to read a subset of the columns, you can use a named list
#' (where the names give the column names). If a column is not mentioned by
#' name, it will not be included in the output.
#' name, it will be parsed with the default collector (as determined by
#' reading the first 100 rows).
#'
#' Alternatively, you can use a compact string representation where each
#' character represents one column: c = character, d = double, i = integer,
Expand Down
3 changes: 2 additions & 1 deletion man/col_types_standardise.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ col_types_standardise(col_types, col_names, guessed_types)
If a list, it must contain one "\code{\link{collector}}" for each column.
If you only want to read a subset of the columns, you can use a named list
(where the names give the column names). If a column is not mentioned by
name, it will not be included in the output.
name, it will be parsed with the default collector (as determined by
reading the first 100 rows).
Alternatively, you can use a compact string representation where each
character represents one column: c = character, d = double, i = integer,
Expand Down
3 changes: 2 additions & 1 deletion man/read_delim.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ a single quote, \code{\"}.}
If a list, it must contain one "\code{\link{collector}}" for each column.
If you only want to read a subset of the columns, you can use a named list
(where the names give the column names). If a column is not mentioned by
name, it will not be included in the output.
name, it will be parsed with the default collector (as determined by
reading the first 100 rows).
Alternatively, you can use a compact string representation where each
character represents one column: c = character, d = double, i = integer,
Expand Down
3 changes: 2 additions & 1 deletion man/read_fwf.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ use \code{fwf_positions}.}
If a list, it must contain one "\code{\link{collector}}" for each column.
If you only want to read a subset of the columns, you can use a named list
(where the names give the column names). If a column is not mentioned by
name, it will not be included in the output.
name, it will be parsed with the default collector (as determined by
reading the first 100 rows).
Alternatively, you can use a compact string representation where each
character represents one column: c = character, d = double, i = integer,
Expand Down
3 changes: 2 additions & 1 deletion man/read_log.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ read_log(file, col_names = FALSE, col_types = NULL, skip = 0,
If a list, it must contain one "\code{\link{collector}}" for each column.
If you only want to read a subset of the columns, you can use a named list
(where the names give the column names). If a column is not mentioned by
name, it will not be included in the output.
name, it will be parsed with the default collector (as determined by
reading the first 100 rows).
Alternatively, you can use a compact string representation where each
character represents one column: c = character, d = double, i = integer,
Expand Down
3 changes: 2 additions & 1 deletion man/read_table.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ read_table(file, col_names = TRUE, col_types = NULL, na = "NA",
If a list, it must contain one "\code{\link{collector}}" for each column.
If you only want to read a subset of the columns, you can use a named list
(where the names give the column names). If a column is not mentioned by
name, it will not be included in the output.
name, it will be parsed with the default collector (as determined by
reading the first 100 rows).
Alternatively, you can use a compact string representation where each
character represents one column: c = character, d = double, i = integer,
Expand Down
3 changes: 2 additions & 1 deletion man/type_convert.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ type_convert(df, col_types = NULL)
If a list, it must contain one "\code{\link{collector}}" for each column.
If you only want to read a subset of the columns, you can use a named list
(where the names give the column names). If a column is not mentioned by
name, it will not be included in the output.
name, it will be parsed with the default collector (as determined by
reading the first 100 rows).
Alternatively, you can use a compact string representation where each
character represents one column: c = character, d = double, i = integer,
Expand Down

0 comments on commit f330023

Please sign in to comment.