Giter Club home page Giter Club logo

Comments (3)

r2evans avatar r2evans commented on May 18, 2024

I also saw this package in the same SO question. I'd argue that using roxygen2 would capitalize on a lot of roxy-to-Rd conversions. As far as how to call it, I think something similar to Hadley's devtools would work, where utils::help is masked by devtools:help, which checks to see if it's a devtools-installed help file and falls back to utils::help otherwise.

from box.

klmr avatar klmr commented on May 18, 2024

Like @r2evans, I think the right way is to use established tools – i.e. roxygen2. And yes, I’ll probably copy devtools’ mechanism of hooking into help, although I would have preferred if R provided a direct way of attaching documentation (or other meta data) to a function, instead of having to patch core functions.

With that in mind, I actually like flydoc’s approach of making such meta information accessible at runtime. This won’t be the priority but it’s definitely “nice to have”.

from box.

klmr avatar klmr commented on May 18, 2024

The work for this is currently being done in the branch help. I’m closing this issue for now. Further discussion should take place in #32, or in dedicated issues.

At the time of writing, a rudimentary system of the interactive help works (modulo the issues already reported). I won’t push it into master yet until these issues are resolved.

from box.

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.