Git Product home page Git Product logo

empc's People

Contributors

jywang2016 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

empc's Issues

Issue with encoding error in EMPC package

I am trying to install the EMPC package from Github, using: devtools::install_github("jywang2016/EMPC").

I get the following encoding error:

  • preparing 'EMPC': (1000ms)
    checking DESCRIPTION meta-information ...
    √ checking DESCRIPTION meta-information
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building 'EMPC_0.2.1.tar.gz'

Installing package into ‘C:/ProgramFiles/R/win-library/3.5’
(as ‘lib’ is unspecified)

  • installing source package 'EMPC' ...
    ** R
    Error : (converted from warning) unable to re-encode 'object_ehubmpc.R' line 704
    ERROR: unable to collate and parse R files for package 'EMPC'
  • removing 'C:/ProgramFiles/R/win-library/3.5/EMPC'
    In R CMD INSTALL
    Error: Failed to install 'EMPC' from GitHub:
    (converted from warning) installation of package ‘C:/Users/KamPanx/AppData/Local/Temp/RtmpOIeI1O/file2d34522336ee/EMPC_0.2.1.tar.gz’ had non-zero exit status

If so, is there a way to fix this by passing an explicit encoding option. Please correct the concerned github file if needed. the line 704 of object_ehubmpc.R

Getting an error while running mpc2$solve_mpc()

Hi, I am running the sample code after installing EMPC from GitHub. Somehow, getting the below error:

Error in prob_data$h[(nh + 1 - ny * N):nh] <- as.vector(yrefN) * yrefactor :
replacement has length zero

Any idea how to resolve this? I am using the first example of EMPC from the site.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.