Code Monkey home page Code Monkey logo

Comments (7)

sckott avatar sckott commented on June 12, 2024

Although, we could make an R interface to git...

from eml.

karthik avatar karthik commented on June 12, 2024

@schamberlain How would you do that? I wondered that too at Scifoo where I met the creator of Authorea. We talked about a ropensci interface to Authorea but ultimately it boils down to a git interface.

from eml.

sckott avatar sckott commented on June 12, 2024

Hmm, not sure, wil think about it

On Tuesday, June 25, 2013, Karthik Ram wrote:

@schamberlain https://github.com/SChamberlain How would you do that? I
wondered that too at Scifoo where I met the creator of Authoreahttps://www.authorea.com/.
We talked about a ropensci interface to Authorea but ultimately it boils
down to a git interface.


Reply to this email directly or view it on GitHubhttps://github.com/ropensci/reml/issues/4#issuecomment-20029787
.

from eml.

cboettig avatar cboettig commented on June 12, 2024

One might start with an RCurl implementation of the Github API. That would provide data for things of interest (commits, issues, activity, org, users, etc) http://developer.github.com/v3/

For git commands though you might be stuck with wrapping system calls (and possibly having to parse their return text from intern=TRUE). Perhaps that could be adequate. It would allow something like eml_publish(..., dest=github) but I'm not sure if that would actually be useful. I'd want a function to write the URL endpoints into the EML but I might rather push myself...

from eml.

sckott avatar sckott commented on June 12, 2024

I have some functions I already wrote to do that blog post on github stats on our repos - functions are in the ropensci::sandbox repo. Looks like you can actually create commits via the API, and perhaps push, though not positive about that.

from eml.

sckott avatar sckott commented on June 12, 2024

Okay, fixed user-agent string now required, just a few functions in the sandbox repo: https://github.com/ropensci/sandbox

Should probably make a separate repo for github...

from eml.

cboettig avatar cboettig commented on June 12, 2024

Not sure that it makes sense to have a publish("file.xml", repo="github") in the same sense as publish("file.xml", repo="KNB") or publish("file.xml", repo="figshare"). Github isn't indexed in the same way as these data repositories -- not clear where the data would be published to on Github anyway.

In particular, the other repositories have their own notion of metadata, so it makes sense to have a function that can map EML metadata into, say, the required figshare title, category, tag, author, and description boxes. The same is not true for Github. Users can always use eml_write and put their EML where-ever they want.

from eml.

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.