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

Error message about tcrossprod not being a builtin function #570

Closed
sjentsch opened this issue Oct 16, 2023 · 2 comments
Closed

Error message about tcrossprod not being a builtin function #570

sjentsch opened this issue Oct 16, 2023 · 2 comments

Comments

@sjentsch
Copy link

When running devtools::check_rhub(), the builder on Windows Server 2022, R-devel, 64 bit returns the following error message:

Quitting from lines 106-125 [unnamed-chunk-5] (jmvReadWrite.Rmd)
Error: processing vignette 'jmvReadWrite.Rmd' failed with diagnostics:
"tcrossprod" is not a BUILTIN function
--- failed re-building 'jmvReadWrite.Rmd'

The respective lines from jmvReadWrite.Rmd are:

fleOMV <- system.file("extdata", "ToothGrowth.omv", package = "jmvReadWrite")
data <- jmvReadWrite::read_omv(fleOMV, getSyn = TRUE)
# shows the syntax of the analyses from the .omv-file
# please note that syntax extraction may not work on all systems
# if the syntax couldn't be extracted, an empty list (length = 0) is returned,
# otherwise, the syntax of the analyses from the .omv-file is shown and
# the commands of the first and the second analysis are run, with the
# output of the second analysis assigned to the variable result
if (length(attr(data, "syntax")) >= 2) {
    attr(data, "syntax")
    # if the "jmv"-package is installed, we can run the analyses in "syntax"
    if ("jmv" %in% rownames(installed.packages())) {
        eval(parse(text = attr(data, "syntax")[[1]]))
        eval(parse(text = paste0("result = ", attr(data, "syntax")[[2]])))
        names(result)
        # -> "main"      "assump"    "contrasts" "postHoc"   "emm"
        # (the names of the five output tables)
    }
}

The two other architectures (Ubuntu Linux 20.04.1 LTS, R-release, GCC; Fedora Linux, R-devel, clang, gfortran), and devtools::check_win_devel() return fine.

Please let me know if there is other information needed.

@gaborcsardi
Copy link
Collaborator

I think this was a bug in R-devel, and it is fixed now, so please try again.

@gaborcsardi
Copy link
Collaborator

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

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

No branches or pull requests

2 participants