Code Monkey home page Code Monkey logo

Comments (4)

annakrystalli avatar annakrystalli commented on July 23, 2024

Thanks for letting me know and experimenting with the package @amrrs!

Hmmm, OK it looks l like something to do with remote install dependencies clashing with dependecies already installed?

pkgrevier is running off the devel version of usethis. I wonder if this might cause clashes with local installs of CRAN usethis 🤨 or dependencies of the packages? Also the github api package is a remote install.

In your print out I can see:

Warning: cannot remove prior installation of package ‘git2r’
...
Warning: cannot remove prior installation of package ‘curl’
...
Warning: cannot remove prior installation of package ‘git2r’

Yiikes, it's trying to install git2r twice? so let me see if I can investigate and find a more stable solution.

Can I ask, have you already got usethis installed from CRAN?

from pkgreviewr.

maelle avatar maelle commented on July 23, 2024

It often happens to me with devtools::install_github and in that case I close my R session, remove the packages by hand before re-installing them, but I agree that it's a bit radical.

from pkgreviewr.

annakrystalli avatar annakrystalli commented on July 23, 2024

Yeah this doesn't sound like a smooth or polite install for users!

As a short term fix I could just switch the dependency back to the CRAN usethis version and just source the use_template function through ::: (it is non-exported on CRAN but exported on github) and hope that fixes it. But longer term, I need to sort out all the ::: functions I'm currently depending on! 😬

from pkgreviewr.

annakrystalli avatar annakrystalli commented on July 23, 2024

So recent usethis release now exports the use_template function! So I've changed the dependency to the CRAN version. @amrrs does this fix the install problems you were having?

from pkgreviewr.

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.