Skip to content

Use of inline HTML is not currently supported #1115

@lionel-

Description

@lionel-

The lifecycle badges produce correct output but with warnings:

roxygen2::roc_proc_text(roxygen2::rd_roclet(), "
  #' Foo
  #' @name foo
  #' @md
  #' @description
  #' `r lifecycle::badge('stable')`
  NULL
")
#> Warning: [<text>:5] @description Use of inline HTML is not currently supported
#> Warning: [<text>:5] @description Use of inline HTML is not currently supported
#> Warning: [<text>:5] @description Use of inline HTML is not currently supported
#> $foo.Rd
#> % Generated by roxygen2: do not edit by hand
#> % Please edit documentation in ./<text>
#> \name{foo}
#> \alias{foo}
#> \title{Foo}
#> \description{
#> \ifelse{html}{\out{<a href='https://www.tidyverse.org/lifecycle/#stable'><img src='figures/lifecycle-stable.svg' alt='Stable lifecycle'></a>}}{\strong{Stable}}
#> }

Needed for r-lib/lifecycle#17.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviormarkdown ⬇️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions