Code Monkey home page Code Monkey logo

Comments (11)

AdrianAntico avatar AdrianAntico commented on May 13, 2024

That has happened to me before. You might need to just restart your computer

from autoquant.

AdrianAntico avatar AdrianAntico commented on May 13, 2024

Also could be a new dependency to the Matrix package I recently added. It wasn't in the DESCRIPTION file but I just added it.

from autoquant.

eafpres avatar eafpres commented on May 13, 2024

I'm having the same behavior on an RStudio instance on a Windows VM.

from autoquant.

AdrianAntico avatar AdrianAntico commented on May 13, 2024

I was able to install from github just now. The only time I had this issue I restarted my computer and it worked fine afterwards. I'm not sure what the underlying cause is, however. As @djhernanv referenced, Link to broader issue. I see a lot of focus on the DESCRIPTION file but that can't be true, otherwise I would be getting the same error. Have you tried to download another github package to see if you get the same error?

from autoquant.

eafpres avatar eafpres commented on May 13, 2024

OK, so in the broader issue, there is this:
Digging into this, I found this problem has been fixed here in the remotes package. Until that makes it into CRAN, you can update remotes to the right point using

devtools::install_github("r-lib/remotes", ref = "e56a41e1d0cad55cbe7d60b274b99ab7b7a76b5c")
so I ran:

remotes::install_github('AdrianAntico/RemixAutoML', upgrade = FALSE, dependencies = FALSE, force = TRUE)

and it starts fine, then fails on magick dependency:

ERROR: dependency 'magick' is not available for package 'RemixAutoML'

  • removing 'C:/Program Files/R/R-3.5.3/library/RemixAutoML'
    In R CMD INSTALL
    Error: Failed to install 'RemixAutoML' from GitHub:
    (converted from warning) installation of package ‘C:/Users/eafpres/AppData/Local/Temp/2/RtmpUbmez9/file2ac40972f26/RemixAutoML_0.5.0.tar.gz’ had non-zero exit status

So i did install.packages('magick') then repeated:

remotes::install_github('AdrianAntico/RemixAutoML', upgrade = FALSE, dependencies = FALSE, force = TRUE)

and it worked

So, install remotes, install magick, then use remotes instead of devtools

from autoquant.

AdrianAntico avatar AdrianAntico commented on May 13, 2024

I see the "magick" package wasn't listed in the install script. I just updated that. Do the remote folks have an explanation as to why devtools works on some but not on all?

from autoquant.

eafpres avatar eafpres commented on May 13, 2024

I'm unsure on the devtools vs. remotes issue; the post said "it was fixed in remotes", which implies there is something wrong in devtools. That's over my head :-).

There were also several instances where "fixing" indent "fixed" it but that may be random?

from autoquant.

AdrianAntico avatar AdrianAntico commented on May 13, 2024

Really odd. I'll make a note in the install script portion of the README to reference this issue if the user is having trouble with installing the package using devtools. Thanks for you help on this!

from autoquant.

eafpres avatar eafpres commented on May 13, 2024

Thank you for the instant response! I just found your package and website last night. Great stuff!

from autoquant.

djhernanv avatar djhernanv commented on May 13, 2024

Hi @AdrianAntico and @eafpres!
Thank you very much for your quick answer! I finally brought it to work. Let me tell you the steps to better understand the underlying issue:

  1. I just tried reinstalling to see if the updates in the documentation worked. It didn't install.
  2. I updated remotes and magick and tried again. It didn't work.
  3. I restarted the R session. It didn't work.
  4. I restarded Rstudio. It worked!

May be it is an issue with R Studio? Would be interesting to see if the installation would work from the R GUI for instance.

Anyways, thank you very much!

from autoquant.

AdrianAntico avatar AdrianAntico commented on May 13, 2024

@djhernanv Thanks for your response. I've had some issues with RStudio, mostly with creating and opening Projects. I'm still able to install the package with devtools so not sure if my results mean anything, but I just checked out installing on the regular R GUI and it worked fine, with devtools. Great suggestion!

from autoquant.

Related Issues (20)

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.