Git Product home page Git Product logo

Comments (4)

sbihorel avatar sbihorel commented on August 30, 2024

Thank for your kinds words

First of all, let me tell you that I am not familiar with the use/syntax of roxygen. My understanding is that roxygen facilitates the creation of documentation or Rd files. I am showing my age here, but I am still doing things the old fashion way by writing my Rd files separately. These Rd files exist in the package and documentation (?...) should be available from the R console upon built and installation of the package.

Do you have an additional rationale besides documentation for your request?

I am open to teaching myself about roxygen, but given my limited available time, I will need a pretty strong reason for this.

from rclipboard.

dseynaev avatar dseynaev commented on August 30, 2024

Hi

Your understanding of roxygen is largely correct. However, besides making it easier, there is some (arguably subjective) reasoning for using roxygen over handwritten Rd files:
https://cran.r-project.org/web/packages/roxygen2/vignettes/roxygen2.html.
Personally, I think having documentation adjacent to code leads to more well-designed functions and appreciate that the NAMESPACE is being dealt with automatically, increasing maintainability.

My reason for asking is that I am using your package in a project and would like to submit a few small improvements based on my experience with other custom shiny widgets.

If this is of any help, I can write roxygen comments that produce .Rd files nearly identical to the current ones.

from rclipboard.

sbihorel avatar sbihorel commented on August 30, 2024

Hi,

I would gladly appreciate any contribution, including the roxygen comments.
One thing I vaguely remember about roxygen is that one has to put a big block of comments at the top of the function. I personally strongly dislike this because of the extra scrolling down that is required to view actual code every time I open my functions... but let's see

from rclipboard.

sbihorel avatar sbihorel commented on August 30, 2024

Closing

from rclipboard.

Related Issues (16)

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.