matt-dray / snorkel Goto Github PK
View Code? Open in Web Editor NEW:diving_mask::label: R package: RStudio Addin to help document functions with {roxygen2}
Home Page: https://matt-dray.github.io/snorkel
License: Other
:diving_mask::label: R package: RStudio Addin to help document functions with {roxygen2}
Home Page: https://matt-dray.github.io/snorkel
License: Other
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.
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.
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.
Ensure the correct wording is used throughout the package. Like @details
is a roxygen tag and\emph{}
would be an Rd tag, right? Check this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.