* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.5/mangoro.Rcheck’ * using R version 4.5.1 (2025-06-13) * using platform: x86_64-apple-darwin20 * R was compiled by Apple clang version 14.0.0 (clang-1400.0.29.202) GNU Fortran (GCC) 14.2.0 * running under: macOS Ventura 13.3.1 * using session charset: UTF-8 * checking for file ‘mangoro/DESCRIPTION’ ... OK * this is package ‘mangoro’ version ‘0.2.6’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘mangoro’ can be installed ... [4s/12s] OK See 'https://www.r-project.org/nosvn/R.check/r-release-macos-x86_64/mangoro-00install.html' for details. * checking installed package size ... INFO installed size is 18.6Mb sub-directories of 1Mb or more: go 18.2Mb * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/1s] OK * checking loading without being on the library search path ... [0s/0s] OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [2s/6s] OK * checking Rd files ... [0s/1s] OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in shell scripts ... OK * checking line endings in Makefiles ... OK * checking for GNU extensions in Makefiles ... INFO GNU make is a SystemRequirements. * checking include directives in Makefiles ... OK * checking examples ... NONE * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/2s] ERROR Running ‘test-mangoro-bin.R’ [0s/1s] Running the tests in ‘tests/test-mangoro-bin.R’ failed. Complete output: > library(nanonext) > library(processx) > library(nanoarrow) > library(mangoro) > > # skip test if Sys.which cannot find go > if (nchar(Sys.which("go")) == 0) { + quit(status = 0) + } > # vendored mangos version > get_mangos_version() [1] NA Warning message: In system2(go, c("list", "-m", "go.nanomsg.org/mangos/v3"), stdout = TRUE, : running command ''/usr/local/go/bin/go' list -m go.nanomsg.org/mangos/v3 2>&1' had status 1 > go_echo_code <- paste( + "package main", + "import (", + ' "fmt"', + ' "os"', + ' "go.nanomsg.org/mangos/v3/protocol/rep"', + ' _ "go.nanomsg.org/mangos/v3/transport/ipc"', + ")", + "func main() {", + " url := os.Args[1]", + " sock, err := rep.NewSocket()", + " if err != nil { fmt.Println(\"NewSocket error:\", err); os.Exit(1) }", + " if err := sock.Listen(url); err != nil { fmt.Println(\"Listen error:\", err); os.Exit(1) }", + " for {", + " msg, err := sock.Recv()", + " if err != nil { fmt.Println(\"Recv error:\", err); break }", + ' newMsg := append(msg, []byte(" [echoed by Go]")...)', + " if err := sock.Send(newMsg); err != nil { fmt.Println(\"Send error:\", err); break }", + " }", + "}", + sep = "\n" + ) > > tmp_go <- tempfile(fileext = ".go") > writeLines(go_echo_code, tmp_go) > > tmp_bin <- if (.Platform$OS.type == "windows") { + tempfile(fileext = ".exe") + } else { + tempfile() + } > mangoro_go_build(tmp_go, tmp_bin) GOMAXPROCS=1 /usr/local/go/bin/go 'build' '-mod=vendor' '-o' '/Volumes/Temp/tmp/RtmpwHISF5/file91867306d4ae' '/Volumes/Temp/tmp/RtmpwHISF5/file9186309b7e0.go' go: errors parsing go.mod: /Volumes/Builds/packages/big-sur-x86_64/results/4.5/mangoro.Rcheck/mangoro/go/go.mod:3: invalid go version '1.22.2': must match format 1.23 Error in mangoro_go_build(tmp_go, tmp_bin) : Go build failed In addition: Warning message: In system(cmd, ignore.stdout = FALSE, ignore.stderr = FALSE, intern = TRUE, : running command 'GOMAXPROCS=1 /usr/local/go/bin/go 'build' '-mod=vendor' '-o' '/Volumes/Temp/tmp/RtmpwHISF5/file91867306d4ae' '/Volumes/Temp/tmp/RtmpwHISF5/file9186309b7e0.go'' had status 1 Execution halted * checking PDF version of manual ... [7s/19s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 1:33