{"action":"created","issue":{"url":"https://api.github.com/repos/road2stat/sbgr/issues/16","labels_url":"https://api.github.com/repos/road2stat/sbgr/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/road2stat/sbgr/issues/16/comments","events_url":"https://api.github.com/repos/road2stat/sbgr/issues/16/events","html_url":"https://github.com/road2stat/sbgr/issues/16","id":101753756,"number":16,"title":"$upload doesn't seem to work","user":{"login":"davidroberson","id":7877261,"avatar_url":"https://avatars.githubusercontent.com/u/7877261?v=3","gravatar_id":"","url":"https://api.github.com/users/davidroberson","html_url":"https://github.com/davidroberson","followers_url":"https://api.github.com/users/davidroberson/followers","following_url":"https://api.github.com/users/davidroberson/following{/other_user}","gists_url":"https://api.github.com/users/davidroberson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidroberson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidroberson/subscriptions","organizations_url":"https://api.github.com/users/davidroberson/orgs","repos_url":"https://api.github.com/users/davidroberson/repos","events_url":"https://api.github.com/users/davidroberson/events{/privacy}","received_events_url":"https://api.github.com/users/davidroberson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tengfei","id":253192,"avatar_url":"https://avatars.githubusercontent.com/u/253192?v=3","gravatar_id":"","url":"https://api.github.com/users/tengfei","html_url":"https://github.com/tengfei","followers_url":"https://api.github.com/users/tengfei/followers","following_url":"https://api.github.com/users/tengfei/following{/other_user}","gists_url":"https://api.github.com/users/tengfei/gists{/gist_id}","starred_url":"https://api.github.com/users/tengfei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tengfei/subscriptions","organizations_url":"https://api.github.com/users/tengfei/orgs","repos_url":"https://api.github.com/users/tengfei/repos","events_url":"https://api.github.com/users/tengfei/events{/privacy}","received_events_url":"https://api.github.com/users/tengfei/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-18T21:33:57Z","updated_at":"2015-08-19T15:56:53Z","closed_at":null,"body":"Hi @sbgtengfei and @road2stat ,\r\n\r\nEverything else in the *Easy API* seems to work that I have tried.  The partial file name search is very powerful and great feature.\r\n\r\nRe: upload...I followed this code \r\n\r\n```\r\nfl <- system.file(\"extdata\", \"sample1.fastq\", package = \"sbgr\")\r\n## create meta data\r\nfl.meta <- list(file_type = \"fastq\",\r\n                seq_tech = \"Illumina\",\r\n                sample = \"sample1\",\r\n                author = \"tengfei\")\r\n\r\nproj$upload(fl, metadata = fl.meta)\r\n\r\n```\r\nerror:\r\n```\r\n\r\nError in validObject(.Object) : \r\n  invalid class “FileTypeSingleEnum” object: superclass \"Enum\" not defined in the environment of the object's class\r\n```\r\n\r\nThanks!\r\n\r\nDave\r\n "},"comment":{"url":"https://api.github.com/repos/road2stat/sbgr/issues/comments/132648193","html_url":"https://github.com/road2stat/sbgr/issues/16#issuecomment-132648193","issue_url":"https://api.github.com/repos/road2stat/sbgr/issues/16","id":132648193,"user":{"login":"tengfei","id":253192,"avatar_url":"https://avatars.githubusercontent.com/u/253192?v=3","gravatar_id":"","url":"https://api.github.com/users/tengfei","html_url":"https://github.com/tengfei","followers_url":"https://api.github.com/users/tengfei/followers","following_url":"https://api.github.com/users/tengfei/following{/other_user}","gists_url":"https://api.github.com/users/tengfei/gists{/gist_id}","starred_url":"https://api.github.com/users/tengfei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tengfei/subscriptions","organizations_url":"https://api.github.com/users/tengfei/orgs","repos_url":"https://api.github.com/users/tengfei/repos","events_url":"https://api.github.com/users/tengfei/events{/privacy}","received_events_url":"https://api.github.com/users/tengfei/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T15:56:53Z","updated_at":"2015-08-19T15:56:53Z","body":"@davidroberson thanks again for reporting the bug, besides the sessionInfo(), could you please try library(objectProperties) explicitly and then run it again, Enum is a class defined in that package. "}}