tests/testthat/test-long_int64.R

library(dotCall64)
context("test-local-tests")

test_that("pass-long-int64_t", {
    skip_on_cran()
    a <- numeric(2^31)
    expect_identical(.C64("BENCHMARK",
                          SIGNATURE = "int64",
                          a = a,
                          INTENT = "rw",
                          NAOK = TRUE, 
                          VERBOSE = 1,
                          PACKAGE = "dotCall64")$a,
                     a)
})

Try the dotCall64 package in your browser

Any scripts or data that you put into this service are public.

dotCall64 documentation built on Oct. 17, 2023, 5:07 p.m.