home.social

#roxygen2 — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #roxygen2, aggregated by home.social.

  1. Experimenting with `@examplesWebR` - a new #roxygen2 tag that makes #rstats package examples interactive!

    Instead of static code blocks, users get "View in webR REPL" buttons that open examples in their browser or the embedded webR REPL. No R installation needed!

    Still WIP (🚧 ) since the main challenge is distributing dev packages for #webR (non-CRAN versions).

    Would love input on the best approach! Here or:

    github.com/coatless-rpkg/rocle

  2. @beps I truly understand what you mean. I am now talking a little about . We have a solid integration of , and some other tools. works. A tight integration of would be nice. We have a good R console and a terminal. Likewise, we don't have the deep integration of , and . Some find it good (I) others find it a hindrance.
    In the end, there are many good choices.

  3. The {document} #rstats 📦 creates roxygen2-style documentation for functions that aren't (yet) part of an R package.

    In the screenshot below, top left shows a test.R file with a function called test_function , including roxygen definitions. After running

    d <- document("test.R")

    I can use

    ?test_function

    to read the help file as if it were part of a package.

    By Andreas Dominik Cullmann

    cran.r-project.org/web/package

    @rstats
    #roxygen #roxygen2