Skip to content

hms() fails #247

Closed
Closed

Description

@imanuelcostigan

From the ?hms examples:

x <- c("09:10:01", "09:10:02", "09:10:03", "Collided at 9:20:04 pm")
hms(x)

returns

Error in matrix(.Call("parse_hms", hms, order), nrow = 3L, dimnames = list(c("H", :
Unrecognized format x supplied

Obligatory sessionInfo()

> sessionInfo()
R version 3.1.0 (2014-04-10)
Platform: x86_64-apple-darwin13.1.0 (64-bit)

locale:
[1] en_AU.UTF-8/en_AU.UTF-8/en_AU.UTF-8/C/en_AU.UTF-8/en_AU.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] aemo_0.1.0        ggplot2_1.0.0     lubridate_1.3.3   testthat_0.8.1    devtools_1.5.0.99

loaded via a namespace (and not attached):
 [1] assertthat_0.1   colorspace_1.2-4 digest_0.6.4     dplyr_0.2        evaluate_0.5.5  
 [6] formatR_0.10     grid_3.1.0       gtable_0.1.2     htmltools_0.2.4  httr_0.3        
[11] knitr_1.6        MASS_7.3-33      memoise_0.2.1    munsell_0.4.2    parallel_3.1.0  
[16] plyr_1.8.1       proto_0.3-10     Rcpp_0.11.2      RCurl_1.95-4.1   reshape2_1.4    
[21] rmarkdown_0.2.49 scales_0.2.4     stringr_0.6.2    tools_3.1.0      whisker_0.3-2   
[26] yaml_2.1.13     

Activity

  1. vspinu commented on Jun 29, 2014

    @vspinu
    Member

    Thanks for reporting this. You were lucky not to see a segfault.

  2. imanuelcostigan commented on Jun 29, 2014

    @imanuelcostigan
    ContributorAuthor

    ill count myself lucky :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions