Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors building package #15

Open
SamoPP opened this issue May 28, 2015 · 1 comment
Open

Errors building package #15

SamoPP opened this issue May 28, 2015 · 1 comment

Comments

@SamoPP
Copy link

SamoPP commented May 28, 2015

When trying to build SIT package locally I got following errors:

  • installing to library ‘/usr/local/lib/R/site-library’
  • installing source package ‘SIT’ ...
    ** R
    Error in .install_package_code_files(".", instdir) :
    files in 'Collate' field missing from '/home/myusername/git/systematicinvestor/SIT/pkg/R':
    cluster.r
    interactive.r
    rfinance2013.r
    rfinance2014.r
    zzz.r
    ERROR: unable to collate and parse R files for package ‘SIT’
  • removing ‘/usr/local/lib/R/site-library/SIT’
@SamoPP
Copy link
Author

SamoPP commented Nov 23, 2015

If I remove Collate section from DESCRIPTION the following errors appear:

  • installing to library ‘/usr/local/lib/R/site-library’
  • installing source package ‘SIT’ ...
    ** R
    ** byte-compile and prepare package for lazy loading
    Warning in grepl("\n", lines, fixed = TRUE) :
    input string 16678 is invalid in this locale
    Warning in grepl("\n", lines, fixed = TRUE) :
    input string 17894 is invalid in this locale
    Warning in grepl("\n", lines, fixed = TRUE) :
    input string 24425 is invalid in this locale
    Warning in grepl("\n", lines, fixed = TRUE) :
    input string 28185 is invalid in this locale
    Warning in grepl("\n", lines, fixed = TRUE) :
    input string 30230 is invalid in this locale
    Note: possible error in 'create.historical.ia(hist.returns, ':
    unused arguments (symbols, symbol.names)
    Note: possible error in 'create.historical.ia(hist.returns, ':
    unused arguments (symbol.names, symbol.names)
    Note: possible error in 'create.historical.ia(hist.returns, ':
    unused arguments (symbol.names, symbol.names)
    Note: possible error in 'create.historical.ia(hist.returns, ':
    unused argument (symbols)
    Note: no visible binding for '<<-' assignment to 'gall'
    Note: no visible binding for '<<-' assignment to 'gia'
    ** help
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded
    ERROR: loading failed
    Error in namespaceExport(ns, exports) :
    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
    Error: loading failed
    Execution halted
  • removing ‘/usr/local/lib/R/site-library/SIT’

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant