Skip to content

Translate vignettes from Sweave to R Markdown #79

Closed

Description

@cbeleites

Vignettes are in LaTeX/Sweave, and should be translated into markdown and building by knitr.

  • branch knitr-vignettes already exists.

  • flu

  • laser

  • baseline

  • chondro

  • hyperspec

  • plotting

  • fileio

    • untangle historic mix with unit tests into vignette and unit tests

Activity

  1. added
    Type: enhancement 🎈
    Status: ready ✔️
    Topic: documentation 📘
    on Jul 22, 2018
  2. added this to the HTML documentation milestone on Jul 22, 2018
  3. GegznaV commented on Jul 24, 2018

    @GegznaV
    Collaborator

    @cbeleites, which of the following do you mean?

    • (A) to translate vignettes to R markdown (.Rmd) and in the future maintain only .Rmd versions or
    • (B) write a script that translates from .Rnw to .Rmd and maintain both?

    A year ago I started writing a script, but it was challenging to make a perfect translation. There were elements that did some hyperSpec-specific translations in my code but I didn't have time to finish it.
    Today I found a package, which has function rnw2rmd() but have not check yet if it performs well: roxyPackage.

    If our goal is (A), then we can use either of the scripts (or even combine both) and they, hopefully, will do 80% of the translation automatically. The remaining can be done manually.

    If our goal is (B), we need to write a better hyperSpec-specific script.

    So, what's the goal?

  4. GegznaV commented on Jul 24, 2018

    @GegznaV
    Collaborator

    Next question: is the branch knitr-vignettes really up to date? It was updated on Feb 12 and:

    This branch is 8 commits ahead, 37 commits behind master.

  5. cbeleites commented on Aug 10, 2018

    @cbeleites
    OwnerAuthor

    @GegznaV

    • the goal is (A): translate once, and use .Rmd in future.
    • no the branch wasn't up to date, I had forgotten to push and was then stuck with so slow internet connection that I couldn't push due to time outs.

    Thanks for chiming in 👍

  6. GegznaV commented on Dec 24, 2019

    @GegznaV
    Collaborator

    Currently, I noticed the activity in the hyperSpec repository. To avoid several people working on the same features, I want to announce that I'm currently translating the vignettes to R Markdown.

    When the R Markdown vignettes are ready, I'd like to return to #78

  7. cbeleites commented on Dec 26, 2019

    @cbeleites
    OwnerAuthor

    Hi Vilmantas,
    great job!
    Yes, I'm active: I got busy with a first go on the dplyr interface and in consequence needed some updates (and found some bugs and took care of a few more) in hyperSpec.
    I'll keep away from the vignettes (mostly - I did insert a paragraph into the hyperSpec vignette about droplevels).
    Many thanks for your help!

  8. added
    Topic: vignette 📗
    on May 29, 2020
  9. changed the title [-]translate vignettes from `Sweave` to `knitr`/`HTML`[/-] [+]translate vignettes from `Sweave` to `R Markdown`[/+] on Jun 4, 2020
  10. changed the title [-]translate vignettes from `Sweave` to `R Markdown`[/-] [+]Translate vignettes from `Sweave` to `R Markdown`[/+] on Jun 4, 2020
  11. GegznaV commented on Jun 20, 2020

    @GegznaV
    Collaborator

    As translation fo vignettes to Rmd and creation of unit tests are two separate topics, let's keep this for translation only and #174 is for unit tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Status: ready ✔️Topic: documentation 📘Topic: vignette 📗Type: enhancement 🎈

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions