Coder Social home page Coder Social logo

matt-dray / snorkel Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 0.0 2.29 MB

:diving_mask::label: R package: RStudio Addin to help document functions with {roxygen2}

Home Page: https://matt-dray.github.io/snorkel

License: Other

R 100.00%
r rstats rstats-package rstudio-addin roxygen2

snorkel's Issues

Provide functions for Markdown support

You can use Markdown in roxygen function documentation, as per the {roxygen2} guidance.

Some of these are like normal Markdown, like backticks for code, but others are less obvious, like the [text][ref] format.

Perhaps use different function suffixes for the md vs rd approaches, like md_*() and roxy_*() or whatever.

Would probably want a new section in the reference tab of the pkgdown site as well.

Expand the help files

In {quartostamp} I added to @details the exact text that would be placed in the document and to @sources a link to the guidance docs online (e.g. for stamp_columns()).

Should do the same here.

Missing name from link to function in another package

Using rd_fn_other_pkg() on package::function results in \code{\link[package]{function}} as expected.

But if you don't highlight any text before using the function, you get: \code{\link[}}, i.e. ]{ are missing from the middle.

Perhaps want a separate print statement when text hasn't first been selected.

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.