{"action":"created","issue":{"url":"https://api.github.com/repos/systematicinvestor/SIT/issues/15","labels_url":"https://api.github.com/repos/systematicinvestor/SIT/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/systematicinvestor/SIT/issues/15/comments","events_url":"https://api.github.com/repos/systematicinvestor/SIT/issues/15/events","html_url":"https://github.com/systematicinvestor/SIT/issues/15","id":82152146,"number":15,"title":"Errors building package","user":{"login":"SamoPP","id":4817398,"avatar_url":"https://avatars.githubusercontent.com/u/4817398?v=3","gravatar_id":"","url":"https://api.github.com/users/SamoPP","html_url":"https://github.com/SamoPP","followers_url":"https://api.github.com/users/SamoPP/followers","following_url":"https://api.github.com/users/SamoPP/following{/other_user}","gists_url":"https://api.github.com/users/SamoPP/gists{/gist_id}","starred_url":"https://api.github.com/users/SamoPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamoPP/subscriptions","organizations_url":"https://api.github.com/users/SamoPP/orgs","repos_url":"https://api.github.com/users/SamoPP/repos","events_url":"https://api.github.com/users/SamoPP/events{/privacy}","received_events_url":"https://api.github.com/users/SamoPP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-28T22:29:18Z","updated_at":"2015-11-23T07:48:13Z","closed_at":null,"body":"When trying to build SIT package locally I got following errors:\r\n\\* installing to library ‘/usr/local/lib/R/site-library’\r\n\\* installing *source* package ‘SIT’ ...\r\n\\** R\r\nError in .install_package_code_files(\".\", instdir) : \r\nfiles in 'Collate' field missing from '/home/myusername/git/systematicinvestor/SIT/pkg/R':\r\n  cluster.r\r\n  interactive.r\r\n  rfinance2013.r\r\n  rfinance2014.r\r\n  zzz.r\r\nERROR: unable to collate and parse R files for package ‘SIT’\r\n\\* removing ‘/usr/local/lib/R/site-library/SIT’"},"comment":{"url":"https://api.github.com/repos/systematicinvestor/SIT/issues/comments/158871620","html_url":"https://github.com/systematicinvestor/SIT/issues/15#issuecomment-158871620","issue_url":"https://api.github.com/repos/systematicinvestor/SIT/issues/15","id":158871620,"user":{"login":"SamoPP","id":4817398,"avatar_url":"https://avatars.githubusercontent.com/u/4817398?v=3","gravatar_id":"","url":"https://api.github.com/users/SamoPP","html_url":"https://github.com/SamoPP","followers_url":"https://api.github.com/users/SamoPP/followers","following_url":"https://api.github.com/users/SamoPP/following{/other_user}","gists_url":"https://api.github.com/users/SamoPP/gists{/gist_id}","starred_url":"https://api.github.com/users/SamoPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamoPP/subscriptions","organizations_url":"https://api.github.com/users/SamoPP/orgs","repos_url":"https://api.github.com/users/SamoPP/repos","events_url":"https://api.github.com/users/SamoPP/events{/privacy}","received_events_url":"https://api.github.com/users/SamoPP/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T07:48:13Z","updated_at":"2015-11-23T07:48:13Z","body":"If I remove Collate section from DESCRIPTION the following errors appear:\r\n\r\n* installing to library ‘/usr/local/lib/R/site-library’\r\n* installing *source* package ‘SIT’ ...\r\n** R\r\n** byte-compile and prepare package for lazy loading\r\nWarning in grepl(\"\\n\", lines, fixed = TRUE) :\r\n  input string 16678 is invalid in this locale\r\nWarning in grepl(\"\\n\", lines, fixed = TRUE) :\r\n  input string 17894 is invalid in this locale\r\nWarning in grepl(\"\\n\", lines, fixed = TRUE) :\r\n  input string 24425 is invalid in this locale\r\nWarning in grepl(\"\\n\", lines, fixed = TRUE) :\r\n  input string 28185 is invalid in this locale\r\nWarning in grepl(\"\\n\", lines, fixed = TRUE) :\r\n  input string 30230 is invalid in this locale\r\nNote: possible error in 'create.historical.ia(hist.returns, ': \r\n  unused arguments (symbols, symbol.names) \r\nNote: possible error in 'create.historical.ia(hist.returns, ': \r\n  unused arguments (symbol.names, symbol.names) \r\nNote: possible error in 'create.historical.ia(hist.returns, ': \r\n  unused arguments (symbol.names, symbol.names) \r\nNote: possible error in 'create.historical.ia(hist.returns, ': \r\n  unused argument (symbols) \r\nNote: no visible binding for '<<-' assignment to 'gall' \r\nNote: no visible binding for '<<-' assignment to 'gia' \r\n** help\r\n*** installing help indices\r\n** building package indices\r\n** testing if installed package can be loaded\r\nERROR: loading failed\r\nError in namespaceExport(ns, exports) : \r\n  undefined exports: bt.make.cashflow.event.summary.table, bt.make.trade.event.summary.table, bt.run.share.ex, bt.run.share.ex.allocate, bt.run.share.ex.invest, bt.run.share.ex.test, bt.run.share.ex.test.cashflow, bt.run.share.ex.test.tax, bt.run.share.fast, bt.run.share.unadjusted.test, bt.run.share.unadjusted.test.data, bt.unadjusted.add.div.split, default.round.lot.control, default.tax.control, event.at, iline, look.at.taxes, round.lot, round.lot.basic, round.lot.basic.base, round.to, setup.cluster, tax.cashflows, tax.summary, visualize.system.parameter.optimization\r\nError: loading failed\r\nExecution halted\r\n* removing ‘/usr/local/lib/R/site-library/SIT’"}}