Your message dated Fri, 26 Mar 2010 12:09:50 -0500
with message-id <[email protected]>
has caused the report #575520,
regarding arguments starting with "-" are intepreted as attribute names
to be marked as having been forwarded to the upstream software
author(s) Dirk Eddelbuettel <[email protected]>
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
575520: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575520
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
(resending this time to correct '575520-forwarded@' rather than the
misspelled -fowarded --Dirk)
On 26 March 2010 at 12:01, Dirk Eddelbuettel wrote:
| Steffen: Thanks for the bug report, and esp the timing as I'll see Allen next
| and he promised to buy me a beverage. Maybe I'll swap that promise for a bug
| fix :)
|
| Allan: Please the ugly litte critter than Steffen found. Do you think you
| could squash it? If you follow-up on the BTS here, could you try to keep
| [email protected] in the CC list?
|
| Dirk
|
| On 26 March 2010 at 15:16, Steffen Moeller wrote:
| | Package: r-cran-getopt
| | Version: 1.14-2
| | Severity: important
| |
| | When specifying double arguments, also negative values should be possible
to specify. But those are then interpreted as short attribute names. Example:
| |
| | $ cat abs.R
| | #!/usr/bin/env r
| |
| | library(getopt)
| |
| | opt = getopt(matrix(c(
| | 'val' , 'v', 1, "double"
| | ),ncol=4,byrow=TRUE), debug=FALSE)
| |
| | cat(abs(opt$val),"\n")
| |
| | this is fine:
| |
| | $ ./abs.R --val 10
| | 10
| |
| | but:
| |
| | $ ./abs.R --val -10
| | Error in getopt(matrix(c("val", "v", 1, "double"), ncol = 4, byrow = TRUE),
:
| | flag "val" requires an argument
| | Execution halted
| |
| |
| | Many thanks
| |
| | Steffen
| |
| |
| |
| |
| | -- System Information:
| | Debian Release: squeeze/sid
| | APT prefers unstable
| | APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
| | Architecture: amd64 (x86_64)
| |
| | Kernel: Linux 2.6.32-trunk-amd64 (SMP w/2 CPU cores)
| | Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
| | Shell: /bin/sh linked to /bin/dash
| |
| | Versions of packages r-cran-getopt depends on:
| | ii r-base-core 2.10.1-2 GNU R core of statistical
computat
| |
| | r-cran-getopt recommends no packages.
| |
| | r-cran-getopt suggests no packages.
| |
| | -- no debconf information
| |
| |
|
| --
| Registration is open for the 2nd International conference R / Finance 2010
| See http://www.RinFinance.com for details, and see you in Chicago in April!
--
Registration is open for the 2nd International conference R / Finance 2010
See http://www.RinFinance.com for details, and see you in Chicago in April!
--- End Message ---