You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to know what the expected behavior would/should be for a DESCRIPTION with duplicated fields (for example Remotes): silent, warning, or error? If all = TRUE on read.dcf, this may allow for this case to be parsed with all remotes (even conflicting), but it may be a bad case and needs an error
Issue by muschellij2
Tuesday Sep 13, 2016 at 16:07 GMT
Originally opened as r-lib/devtools#1342
In
utils.R
, forread_dcf
, the code is:I wanted to know what the expected behavior would/should be for a DESCRIPTION with duplicated fields (for example Remotes): silent, warning, or error? If
all = TRUE
onread.dcf
, this may allow for this case to be parsed with all remotes (even conflicting), but it may be a bad case and needs an errorParsing DESCRIPTION with default
read.dcf
Only "last" Remotes section held
Parsing DESCRIPTION with default
read.dcf(all = TRUE)
All Remotes section held, but in a list now
Behavior from
devtools
No error/warning was generated (as none was generated in
read.dcf
), but the "last" entry of the field (in this case "Remotes") was output:The text was updated successfully, but these errors were encountered: