Code Monkey home page Code Monkey logo

Comments (3)

ChrisMuir avatar ChrisMuir commented on June 15, 2024

As a workaround, I've included a new parameter to the core pkg functions, ssl_verify_peer, which is simply passed directly to the param ssl_verifypeer within the function call to httr::GET(). The default to this new param is TRUE (the more secure option), but the user may set this to FALSE if they choose, which tells curl to skip the SSL certificate verification step. This should only be done if you trust the API site (https://comtrade.un.org/), and if you fully understand the security risks/implications of this decision.

These edits are currently available in the dev version on GitHub.

from comtradr.

ChrisMuir avatar ChrisMuir commented on June 15, 2024

I voluntarily had CRAN archive the package until these issues can be sorted out.

from comtradr.

ChrisMuir avatar ChrisMuir commented on June 15, 2024

As of 2017-06-27, the core functions of this package are no longer throwing curl errors, and httr::GET("https://comtrade.un.org/data/") successfully completes the connection and returns status code 200. The issue with the SSL certificate of the UN site seems to have been resolved. I plan to resubmit this package to CRAN in the next few days, and am closing this issue.

from comtradr.

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.