{"action":"closed","issue":{"url":"https://api.github.com/repos/ropensci/datapackage/issues/23","labels_url":"https://api.github.com/repos/ropensci/datapackage/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/datapackage/issues/23/comments","events_url":"https://api.github.com/repos/ropensci/datapackage/issues/23/events","html_url":"https://github.com/ropensci/datapackage/issues/23","id":81247576,"number":23,"title":"Error with setClassUnion when loading datapackage via devtools","user":{"login":"mbjones","id":766407,"avatar_url":"https://avatars.githubusercontent.com/u/766407?v=3","gravatar_id":"","url":"https://api.github.com/users/mbjones","html_url":"https://github.com/mbjones","followers_url":"https://api.github.com/users/mbjones/followers","following_url":"https://api.github.com/users/mbjones/following{/other_user}","gists_url":"https://api.github.com/users/mbjones/gists{/gist_id}","starred_url":"https://api.github.com/users/mbjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbjones/subscriptions","organizations_url":"https://api.github.com/users/mbjones/orgs","repos_url":"https://api.github.com/users/mbjones/repos","events_url":"https://api.github.com/users/mbjones/events{/privacy}","received_events_url":"https://api.github.com/users/mbjones/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ropensci/datapackage/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ropensci/datapackage/milestones/1","html_url":"https://github.com/ropensci/datapackage/milestones/1.0.0","labels_url":"https://api.github.com/repos/ropensci/datapackage/milestones/1/labels","id":1135093,"number":1,"title":"1.0.0","description":"Initial 1.0.0 release of `datapackage` package, including support to represent a DataPackage class with associated DataObjects and associated SystemMetadata, with an ORE description of the package in RDF format.","creator":{"login":"mbjones","id":766407,"avatar_url":"https://avatars.githubusercontent.com/u/766407?v=3","gravatar_id":"","url":"https://api.github.com/users/mbjones","html_url":"https://github.com/mbjones","followers_url":"https://api.github.com/users/mbjones/followers","following_url":"https://api.github.com/users/mbjones/following{/other_user}","gists_url":"https://api.github.com/users/mbjones/gists{/gist_id}","starred_url":"https://api.github.com/users/mbjones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbjones/subscriptions","organizations_url":"https://api.github.com/users/mbjones/orgs","repos_url":"https://api.github.com/users/mbjones/repos","events_url":"https://api.github.com/users/mbjones/events{/privacy}","received_events_url":"https://api.github.com/users/mbjones/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":15,"state":"open","created_at":"2015-05-27T03:06:14Z","updated_at":"2015-05-27T18:38:18Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-05-27T03:04:34Z","updated_at":"2015-05-27T18:38:18Z","closed_at":"2015-05-27T18:38:18Z","body":"When trying to load datapackage using `devtools::load_all()`, I get an error now that seems to have an issue with creating a union class with `setClassUnion`.  Related issues were reported, including hadley/devtools#657 and hadley/devtools#168.  Code below illustrates the issue, and provides session info.\r\n\r\n```r\r\n> library(devtools)\r\n> load_all('.')\r\nLoading datapackage\r\nError in .walkClassGraph(ClassDef, \"contains\", where, attr(ext, \"conflicts\")) : \r\n  the 'superClass' list for class “character”, includes an undefined class “EnumerationValue”\r\nIn addition: Warning message:\r\ncharacter(0) \r\nError in setClassUnion(\"charOrNULL\", c(\"character\", \"NULL\")) (from DataPackage.R#176) : \r\n  unable to create union class:  could not set members \"character\"\r\n> getwd()\r\n[1] \"/Users/jones/development/datapackage\"\r\n> sessionInfo()\r\nR version 3.2.0 (2015-04-16)\r\nPlatform: x86_64-apple-darwin13.4.0 (64-bit)\r\nRunning under: OS X 10.10.3 (Yosemite)\r\n\r\nlocale:\r\n[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] devtools_1.8.0\r\n\r\nloaded via a namespace (and not attached):\r\n [1] Rcpp_0.11.6        roxygen2_4.1.1     XML_3.98-1.1       digest_0.6.8      \r\n [5] bitops_1.0-6       git2r_0.10.1       magrittr_1.5       stringi_0.4-1     \r\n [9] uuid_0.1-1         hash_2.2.6         tools_3.2.0        stringr_1.0.0     \r\n[13] RCurl_1.95-4.6     rversions_1.0.0    memoise_0.2.1      redland_0.2.0.9000\r\n```"}}