Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow V8 namespace check to fail quietly #1096

Closed
wants to merge 2 commits into from
Closed

Conversation

andrjohns
Copy link
Contributor

Summary:

The namespace check for V8 will currently cause the installation to error and fail if V8 isn't installed, we need to add quietly = TRUE

@@ -20,7 +20,7 @@ RNG <- 0
OUT <- 0

.onLoad <- function(libname, pkgname) {
if (requireNamespace("V8")) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is already on CRAN, although we might need to tweak main.yaml. Is your develop branch up to date?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Specifically commit a6c8704

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good catch, yep it's already in develop.

But according to the CRAN source it's not on CRAN: https://github.com/cran/rstan/blob/0e3de1d25a6225d56eb182cb8f949a563c987948/R/zzz.R#L23

@andrjohns andrjohns closed this Sep 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants