Skip to content

Commit 313020e

Browse files
author
Cuong Duong
committed
typo
1 parent b939048 commit 313020e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/zzz.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ cmdstanr_knitr_env <- cmdstanr_knitr_env_function_generator(new.env())
7373
}
7474

7575
.onLoad <- function(...) {
76-
if (requireNamespace(pkg, quietly = TRUE)) {
76+
if (requireNamespace("knitr", quietly = TRUE)) {
7777
cmdstanr_knitr_env(knitr::knit_global())
7878
}
7979
cmdstanr_initialize()

0 commit comments

Comments
 (0)