Skip to content

Commit

Permalink
skip calculations
Browse files Browse the repository at this point in the history
  • Loading branch information
gravesti committed Sep 27, 2024
1 parent 5819ac0 commit 2d94653
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vignettes/knit_print.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ registerS3method("knit_print", "NextBestNCRM", knit_print.NextBestNCRM)
```{r}
#| label: coverage-1
#| echo: FALSE
#| eval: TRUE
#| eval: FALSE
crmpackClasses <- getClasses(asNamespace("crmPack"))
h_custom_method_exists <- function(generic, obj) {
Expand Down Expand Up @@ -364,6 +364,9 @@ stillToDo <- df %>%
filter(Constructor == "OK", !KnitPrint) %>%
nrow()
```
```{r}
allClasses <- knitPrintDefined <- knitPrintNotDefined <- virtualClasses <- stillToDo <- 0
```

`crmPack` defines `r allClasses` classes. Custom `knit_print` methods exist for `r knitPrintDefined`
of them. Of the remaining `r knitPrintNotDefined` classes, `r virtualClasses` are virtual classes
Expand All @@ -373,7 +376,7 @@ that will never be directly instantiated by end users. That leaves `r stillToDo`
```{r}
#| label: coverage-2
#| echo: FALSE
#| eval: TRUE
#| eval: FALSE
df %>%
filter(Constructor == "OK", !KnitPrint) %>%
Expand Down

0 comments on commit 2d94653

Please sign in to comment.