Nothing
context("Race condition")
library(parallel)
test_that("sharing objects at the same time", {
cl <- makeCluster(2)
clusterEvalQ(cl, {
library(SharedObject)
})
expect_error({
clusterEvalQ(cl, {
for(i in 1:100000){
a <- share(123)
if(i%%100==0){
gc()
}
}
})
},NA)
stopCluster(cl)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.