GithubHelp home page GithubHelp logo

Drat and type = "both" about drat HOT 4 CLOSED

eddelbuettel avatar eddelbuettel commented on August 20, 2024
Drat and type = "both"

from drat.

Comments (4)

eddelbuettel avatar eddelbuettel commented on August 20, 2024

This seems to generally work for form Ubuntu with type="source" (by default).

from drat.

kevinushey avatar kevinushey commented on August 20, 2024

There is currently a bug with R + download method libcurl that bites if:

  1. You're running CRAN R on a platform where binary packages are delivered (OS X or Windows),
  2. You have options(pkgType = "both") or options(pkgType = "binary"),
  3. You have a 'source-only' repository in your options(repos).

R will barf on install.packages() with something like:

Warning: unable to access index for repository http://ghrr.github.io/drat/bin/macosx/mavericks/contrib/3.2:
  Line starting '<!DOCTYPE html> ...' is malformed!

because libcurl downloads a 404 page and pretends that it is the PACKAGES file it wanted to access. Prior to R 69197, this error was fatal and halted the whole download process; it's appropriately worked around now.

I'm not sure about @hadley's error -- it seems like maybe that was just an intermittent connection issue? But in @hadley's case it's using curl itself, not libcurl.

@hadley, what's the output of options("download.file.method") and options("download.file.extra")?

from drat.

eddelbuettel avatar eddelbuettel commented on August 20, 2024

Closing old and stale issue...

from drat.

eddelbuettel avatar eddelbuettel commented on August 20, 2024

Meant to refer to #31 not #37 in that commit two minutes ago...

from drat.

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.