Skip to content

testunit fails: Error in shareData(mtcars, "share1") : * Creating file mapping...ERROR #40

@nunotexbsd

Description

@nunotexbsd

Any clues?

* checking tests ...
  Running 'test_kit.R'
 ERROR
Running the tests in 'tests/test_kit.R' failed.
Last 13 lines of output:
  > check("0021.012", charToFact(c("a",NA,"b")), addNA(as.factor(c("a",NA,"b"))))
  > check("0021.013", charToFact(c("a",NA,"a","b")), addNA(as.factor(c("a",NA,"a","b"))))
  > check("0021.014", charToFact(c("a",NA,"aa","b")), addNA(as.factor(c("a",NA,"aa","b"))))
  > check("0021.015", charToFact(c("a",NA,"aa")), addNA(as.factor(c("a",NA,"aa"))))
  >
  > rm(x1)
  >
  > # --------------------------------------------------------------------------------------------------
  > #                                   shareData
  > # --------------------------------------------------------------------------------------------------
  >
  > x = shareData(mtcars,"share1")
  shm_open error, errno(22): Invalid argument
  Error in shareData(mtcars, "share1") : * Creating file mapping...ERROR
  Execution halted
* DONE
R version 4.3.2 (2023-10-31)
Platform: amd64-portbld-freebsd15.0 (64-bit)
Running under: FreeBSD 15amd64-main 15.0-CURRENT FreeBSD 15.0-CURRENT 1500014 amd64

Matrix products: default
LAPACK: /usr/local/lib/R/lib/libRlapack.so.4.3.2;  LAPACK version 3.11.0

locale:
[1] C.UTF-8/C.UTF-8/C.UTF-8/C/C.UTF-8/C.UTF-8

time zone: Europe/Lisbon
tzcode source: system (FreeBSD)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_4.3.2

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions