mikldk / roxytest

Inline testthat tests with roxygen2
95 stars 3 forks source link

Unable to make roxytest work. #23

Open shahronak47 opened 2 years ago

shahronak47 commented 2 years ago

Hello, I am trying to include this package in my package but facing some difficulties.

Let me share what I have done.

Installed the package with

remotes::install_github("mikldk/roxytest")

In the DESCRIPTION file included

Roxygen: list(markdown = TRUE, roclets = c("namespace", "rd", "roxytest::testthat_roclet",
           "roxytest::tinytest_roclet", "roxytest::param_roclet", "roxytest::return_roclet",
           "roxytest::examples_roclet"))

Now what I expected to happen was in the roxygen skeleton of my function when I type @ it should auto-suggest me "tests" and other custom tags that we have defined along with the default ones but it does not. It only shows the default tags that (like @title, @author). Have I misunderstood what the package does and there is no feature of auto-suggest? What should I do to make it work?