Skip to content

Commit e33f469

Browse files
committed
Fixed two more typos
1 parent 79423a2 commit e33f469

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

R/fit.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ save_object <- function(file, format = c("rds", "qs2"), ...) {
148148
if (!requireNamespace("qs2", quietly = TRUE)) {
149149
stop("The 'qs2' package is required for format = \"qs2\".", call. = FALSE)
150150
}
151-
qs2::qs_save(x = self, file = file, ...)
151+
qs2::qs_save(self, file = file, ...)
152152
}
153153
invisible(self)
154154
}

vignettes/cmdstanr.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ sampler diagnostics, user-specified initial values, and profiling data.
501501
fit$draws()
502502
503503
# Save the object to a file.
504-
qs2::qs_save(x = fit, file = "fit.qs2")
504+
qs2::qs_save(fit, file = "fit.qs2")
505505
506506
# Read the object.
507507
fit2 <- qs2::qs_read("fit.qs2")

0 commit comments

Comments
 (0)