sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
193e40b886f08f95e5f267067a6bc7a6fc0826067546f481a90535d9076ed946 | R | 181 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureAssign.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureAssign")
|
d34264e523165857cfb8ced34e926ac832716befe0594e281eaf764ae78dae87 | R | 181 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cancel-value.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cancel-value")
|
f015b166401b65ea6e22a72c3a7d83547673b60f6012c27182f683eb5d2f0f27 | R | 181 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-nbrOfWorkers.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("nbrOfWorkers")
|
7af3eec9b970748c095fd48ebdb68a5475c3a8ad44d11fe673a28960384bda5a | R | 182 | 11 | rm(list = ls())
devtools::load_all()
object <- galamm(
formula = y ~ lbas * treat + lage + v4 + (1 | subj),
data = epilep, family = poisson
)
newdata <- epilep
type <- "link"
|
026c57e8b0ede4471b0d5ca96f34d258fafec5e9f5aac6addcf0815deb22104d | R | 183 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-reset-methods.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("reset-methods")
|
1218c2aa3babc611da90c31e49d5ef34a1c0a0a0803cdff8d26f656dd33d15ba | R | 183 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,where.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,where")
|
49572ad979fb3fdc72ed74418c57699af57466ba154f1be095fe374c6a69a91a | R | 183 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-future,labels.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("future,labels")
|
65bf34af41f1ee7c2c2a151137ecb2c189570f4c6156693490b0e4df9b0f9ab3 | R | 183 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-invalid-owner.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("invalid-owner")
|
ebda035adbb1705dc062f52359e93149bd1f670476e38142d4aded54592e5eaa | R | 183 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-FutureGlobals.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("FutureGlobals")
|
286af6cc934688c815dceb907b25bb08d627f204454d5fc3f31ada0469b27c71 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-make_rng_seeds.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("make_rng_seeds")
|
2c804d22ab46c9c030cf6ef57b411e5b40d696e9870d628571b1a8beae762dd5 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-sticky_globals.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("sticky_globals")
|
348c6066598d1f04af94cc9dfafe1c51febc7dd7519e8763281830e3ecfebb2e | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-prune_pkg_code.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("prune_pkg_code")
|
3ce679c73200fa655d5918ce0749d19ae424680c9344d3e34b02270b403e30bc | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,tricky.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,tricky")
|
3dcc9a4a228bb288d3798fbfcad5d0e58d9e720dc6677774206fc369a618755f | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-sessionDetails.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("sessionDetails")
|
46e44d1e5669602fd709ff463892d176ba23f7125d6f529d1875f3072ad52400 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,locals.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,locals")
|
4fe3df54f3a2530310b671c754ba20f5e2fb7808e0b801aea4a8c7e33523f218 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-stealth_sample.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("stealth_sample")
|
65a4248d3c42d0c44f0544588c532c22059ce2306c83ba4bd6e8967876dc5b38 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-nested_futures.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("nested_futures")
|
77cddb254bbc72733503223794219392cfe170188b9cff13d913c1d96c797d6e | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-startup-onLoad.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("startup-onLoad")
|
80fc8a5c819b5ffac37625b36b740c63efb45a3ff3192764facbcbd714b24485 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-demo-fibonacci.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("demo-fibonacci")
|
92eb1f93086784c5c84e816f3255115463ce68d3f17c17a14732092d6f078abf | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-FutureRegistry.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("FutureRegistry")
|
a1409118bbd8b5818f371ff5635e5ac5513a6a7b477c6c370190d73e8508ed09 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-relaying,split.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("relaying,split")
|
fb43fb0c59915053219db4b2b4f2bf052f4fa16b9a311249563867ee619c1798 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,manual.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,manual")
|
fe7f5b875e26b76484cbb18c6ad86cfed5af86a05f841d364ffe39d84c370d41 | R | 185 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-future,workdir.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("future,workdir")
|
1cc87c5d236c655f6e1313408335acc6d624389172f70339687807a6390370bf | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-demo-mandelbrot.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("demo-mandelbrot")
|
3d5d55b4f3128c6afe6f4333608e7e2001fce6cc74964aba865503ceaa4f932d | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,resolve.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,resolve")
|
71d565c082d00e282c7a860635449205e8ac8ed680fc693389011dee0c0dee7f | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-relaying,muffle.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("relaying,muffle")
|
75581aae5120d6c4ddbc7dd99855920638271bb1aa424012dc49f900d1ca41d8 | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-journal-methods.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("journal-methods")
|
7f7e3e6fd3889f3f4345ca197fc75b1e7212a3d1354087044f6f689e74b21af0 | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,tricky2.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,tricky2")
|
948a13b2aed11a1461a46685f0d3f8c8201e3197f3eb7008158e9cfbb16572a0 | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-FutureCondition.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("FutureCondition")
|
b70c4b86ff21d73b97bae57ea9930b0c040635ab93247fd4b0779eea717efe3a | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-dotdotdot,envir.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("dotdotdot,envir")
|
e306948201b939c93996e2b50c92d4926a77bc0ed1dd20d051a1cfc540248fcc | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-error_on_warn_2.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("error_on_warn_2")
|
e58cdc9262518428752110a7d76982f4506db306c9f25227c57b201fa72bd2d6 | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-early-signaling.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("early-signaling")
|
eaa4b9f8d846f28f7bd4e1d3694b3a74f184b2f964e268b53cd6b096ba3b8916 | R | 187 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureAssign_OP.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureAssign_OP")
|
0ecdf3755f065a48c995eb6f954c0a811fe592021855233fe1e15d761aaa9284 | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-startup-onAttach.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("startup-onAttach")
|
16cdb38af207786b9d05fd169d2dbceb323df463921272efb1c72e68a5ee7b92 | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globalsOf,tweaks.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globalsOf,tweaks")
|
419c05bf7ce522b942f40bd392c23ba2137d0774c879ad97392980206c186d11 | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,packages.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,packages")
|
68bc81ec6cc1cccebb0e6eb3e85cbfa2ad01292fde1887897ea8a86d3b738a2a | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,formulas.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,formulas")
|
6932c49ca3b352fb65a32efe30993b768a95a60143972a714a7d5f8644d6adee | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,toolarge.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,toolarge")
|
aa70cedd710352bb4edb0b926759d5af02de1e736f89d8092c1fc4a503915959 | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-UniprocessFuture.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("UniprocessFuture")
|
c482929e3bfbd3e169f494891b736952ba86879c352d5f74f269cd99c8934c57 | R | 189 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-capture_journals.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("capture_journals")
|
5db1a622cb1d36febcb7eb161a1d94b22c28d9208f8d6754c68c38b4cb4dcee3 | R | 191 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-protected-classes.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("protected-classes")
|
95a0e260c1acdc6e6de108790f4c6ef58b00251a493e71823819e68e471d362d | R | 191 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureSessionInfo.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureSessionInfo")
|
bea3a6f3ceddc5fa9b93af26544df8f045335050b9cc4d49ec3dcd08fa437042 | R | 191 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,S4methods.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,S4methods")
|
c85417e074034129da27bf1253ccaf15f0578b53aa6091e74ca6754d18438c7d | R | 191 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-makeClusterFuture.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("makeClusterFuture")
|
d570a5ce66302107a01cbaa6d50eee8a411ac35f2126f72efc7c783ddf4a3acc | R | 191 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cancel-sequential.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cancel-sequential")
|
0b23633ddaf8fca7e0055b31d026184f9be44e0fe9e0391f77ebf2e8031a289f | R | 193 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-future,optsenvvars.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("future,optsenvvars")
|
537c4d387b0a8e95ea75062fe3b39151ba08d2c62c3b80fe767b74ae7a5e7442 | R | 193 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-misuse-connections.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("misuse-connections")
|
6637ddcdfc72045bf18eb91f3eb0efa5b143a085042a39e28deab4fba5cb301d | R | 193 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-value-list-options.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("value-list-options")
|
d186602d492a277cb30fb176041dcf80bc2400d9a4fdffa011ae80432cdde79e | R | 193 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-immediateCondition.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("immediateCondition")
|
91c34c299fe3c11c7674968dcf45ffffdaeeec4ebf46da4601e1e5089e738c42 | R | 195 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-nbrOfWorkers-legacy.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("nbrOfWorkers-legacy")
|
59a25725ea4badc4727ffc683fcd54d1bd6072d9fc261376fe5a4218af1d3571 | R | 197 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-registerClusterTypes.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("registerClusterTypes")
|
79dea4ddcb5ea4bc59f8674892f5a8609447839587cf404eb4a0ce16951bfc75 | R | 197 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-startup-parseCmdArgs.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("startup-parseCmdArgs")
|
c0beed4c9f4a8ee433a997101a83a6cd4c74f1cefa28d30894fe40f4d68353b4 | R | 197 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-adhoc_native_to_utf8.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("adhoc_native_to_utf8")
|
3e5f8f4b2cdf6de1d14e7ea40fbd87e44c97ba9eca3074447f4cde7992e120dc | R | 199 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cancel-canceled-error.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cancel-canceled-error")
|
660a00fd3246eb44a844146323a9f29a0e642b0ab34c3a91277267ed21c3a41d | R | 199 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,subassignment.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,subassignment")
|
9bc9310c2a61ccb940e7a5503b1c6f3c0f9629976193aa52a1e7b1cd032982f5 | R | 199 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-makeClusterSequential.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("makeClusterSequential")
|
a0e3a649c57a118a5383b1a480c5a9ca5da3f9296aa4724e8d209e714fbb3208 | R | 199 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureOf_with_listenv.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureOf_with_listenv")
|
ba86012f86685a84491cbc77f54ad2eef23f85bc0022450ed75459822125807d | R | 199 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-update_package_option.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("update_package_option")
|
f2b53b7342c8fff6d3ec90a16d6e35611732d6c3f75ac381241edd694a3ba47e | R | 199 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-multisession-libpaths.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("multisession-libpaths")
|
0bd511870c8be763c2155ddd3cb770c9b5fcc773ba8f585b6e2b3ea63358b3d7 | R | 203 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-value-error-cancels-set.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("value-error-cancels-set")
|
562032d43bc884164ece9402d45ded2eee4593e38e6131554770b0cfd49416f8 | R | 203 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cluster,erase-globalenv.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cluster,erase-globalenv")
|
5bd4181204473c5f245d9b2624c3ac8b317c74e54e4df344663f799ec3dbe16b | R | 203 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-readImmediateConditions.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("readImmediateConditions")
|
a892752934976f954386859878e18f84633327923491dc6739ad5f153759b8d4 | R | 203 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-FutureBackend-factories.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("FutureBackend-factories")
|
bb42cf1f936f774b95daa07953da176cb9acea48e3429818d8d0d8ce0ff267b6 | R | 203 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-value-lazy-launch-error.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("value-lazy-launch-error")
|
d3615a9312d0a2c440f9cf79b0e68c1b741620b9938490e94bdab5bb3f523877 | R | 203 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-nested_futures,mc.cores.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("nested_futures,mc.cores")
|
500394ba4b433366c83dd6ebff5e1cff7b961d97b0ed8a6da10cd15d4cd6efff | R | 205 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-check_connection_details.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("check_connection_details")
|
6986954b510e6e04ac2b6e0abd6038f76947f7bd64444c0fc3e1e6f75116b695 | R | 205 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-multicore,multithreading.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("multicore,multithreading")
|
fb89bad151d73374b9c40c3d9cb472ec053b4d0715656033e42013ef4260033f | R | 205 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-globals,tricky_recursive.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("globals,tricky_recursive")
|
6173daba9cdf34a80e0a494b4e86702704f97a3ced25ff1da845867e9e65a96c | R | 207 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-sourceFutureStartupScript.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("sourceFutureStartupScript")
|
c1c55619afb9db11008f102855653b7c1243678ceec1a20f2f3a6e77058b77ad | R | 207 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureOf_with_environment.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureOf_with_environment")
|
19e2e677f3a3aa001d76598682c57a912d5899237ea6810bc76a460521d9f67e | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-resolved-non-blocking-test.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("resolved-non-blocking-test")
|
2dae3e307bac85519e46373c4b123bdc8039c7f37af391575b78ef7a422555ff | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cluster,worker-termination.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cluster,worker-termination")
|
5ff945321fc8607cbc46435c6ee0003367f6f3063e5577fc16c3ee8823554a50 | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-value-error-keeps-resolved.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("value-error-keeps-resolved")
|
b2215dbd1b2e5154fbfabd4c85aca48509ff977fca11786ddf327e0ea1786dff | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cluster-missing-future-pkg.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cluster-missing-future-pkg")
|
c678feab064d33d12bdd80090def43f6b83a54b3ee49d6fe968fd0d39e5001ca | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-non-exportable,connections.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("non-exportable,connections")
|
dc81cdcb87f025f78b9c381c92eb3cf88e4e5ddd6ed010a355727ca72685e17d | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-cluster-connection-clashes.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("cluster-connection-clashes")
|
f2faa40bf18f617ad338129db6fb1644a268d0105a9730c965aaf7158d742c2d | R | 209 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-reserved-keyword-functions.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("reserved-keyword-functions")
|
5fd4b22972624b038abc307e959ecfd3e9d824de302b257d1ac60678205185a7 | R | 211 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-value-interrupt-cancels-set.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("value-interrupt-cancels-set")
|
1a9ec23583e05244a6217a2438b76ee1b0e87889b3038c17207bc136d9cd7110 | R | 213 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-multicore,worker-termination.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("multicore,worker-termination")
|
4ccb534b90d2a879bc0a65b2743a7007f355c3c5ab1d86cc7350d115ce6b195a | R | 213 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureAssign_OP_with_listenv.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureAssign_OP_with_listenv")
|
ce70596310c768a03d435b09b86c6567701dc3b0245e93bbd78053021dbff9dc | R | 213 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-makeClusterFuture-quote-args.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("makeClusterFuture-quote-args")
|
c581b45ae44b5c5fbe4cda4328a82edce23681b29989d892a20096790333163a | R | 215 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-interrupts-from-worker-itself.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("interrupts-from-worker-itself")
|
c087a48e738ad77c2e4d9cb4a2517d7785d7fa239f898c141dc70ea9c8d01b1c | R | 216 | 7 | ### Default ggpplot colours used by seurat DimPlot
ggplotColours <- function(n = 6, h = c(0, 360) + 15){
if ((diff(h) %% 360) < 1) h[2] <- h[2] - 360/n
hcl(h = (seq(h[1], h[2], length = n)), c = 100, l = 65)
}
|
d1f4436c4302ccfc08524f552099bd9b293401dfe18c8be94831dc26e9c53cf6 | R | 217 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-makeClusterFuture-clusterEvalQ.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("makeClusterFuture-clusterEvalQ")
|
3a83cc7116e4ef067690b67b344b69f07f5dc2998847e315f2594e7353b22acf | R | 219 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-worker-connection-leak-on-error.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("worker-connection-leak-on-error")
|
eae79793e06316af829adbada45de260e6ea7885c1b4dc7d1c52619890154bb0 | R | 221 | 4 | #! /usr/bin/env Rscript
## This runs testme test script inst/testme/test-futureAssign_OP_with_environment.R
## Don't edit - it was autogenerated by inst/testme/deploy.R
future:::testme("futureAssign_OP_with_environment")
|
a6da2128fd11368e6ea554cbf67c08815e43fa35c25096e93fab90e75f1d7d13 | R | 237 | 20 | pid <- Sys.getpid()
pid
a %<-% {
pid <- Sys.getpid()
cat("Future 'a' ...\n")
3.14
}
b %<-% {
rm(pid) ## no effect on global 'pid'
cat("Future 'b' ...\n")
Sys.getpid()
}
c %<-% {
cat("Future 'c' ...\n")
2 * a
}
b
c
a
pid
|
6f1a78ff1cfcb82c680004539e36c63bafa3c04020a3777f89755174fb0f814f | R | 241 | 7 | if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install("snpStats")
install.packages("devtools", repos="https://lib.ugent.be/CRAN/")
library(devtools)
install_github("chr1swallace/coloc") |
122103dc3a8c384bc973143f4a48c7d87ad1323c3b73a89d7cce55a7fbe4d826 | R | 253 | 14 | #' @tags demo mandelbrot
#' @tags sequential
library(future)
message("mandelbrot() ...")
counts <- mandelbrot(xmid = -0.75, ymid = 0.0, side = 3.0, resolution = 100L)
img <- as.raster(counts)
plot(img)
plot(counts)
message("mandelbrot() ... DONE")
|
304e7cb4b18da710ccb4f4a916e1881186a23d32400cedf56921b61e0a5c5218 | R | 268 | 15 | #' @tags futureSessionInfo
#' @tags sequential
library(future)
message("*** futureSessionInfo() ...")
message(" - test = FALSE")
futureSessionInfo(test = FALSE)
message(" - test = TRUE")
futureSessionInfo(test = TRUE)
message("*** futureSessionInfo() ... DONE")
|
7a02fe264d857474d5f80a268c4e638cf56c9245459e4c0093bccdab992b84f9 | R | 273 | 6 | sankey_overlap_wDEGs <- function(neuronalDf, bulkDf, clusterColor) {
n_cluster <- neuronalDf %>% filter(cluster_color == clusterColor)
overlap_cluster <- bulkDf %>% filter(genes %in% n_cluster$genes)
sum_cluster <- nrow(overlap_cluster)
return(sum_cluster)
}
|
55408d8a5c9a1ac5fca610f9a78a3f20e2702c958ce6b230f3f0046759c524c5 | R | 275 | 9 |
load("/home/clausb/R_image/allnetworks.Rdata", verbose = FALSE)
load("/home/clausb/R_image/remainingmodels.Rdata")
tvalues <- list()
for (i in 1:length(remainingmodels)) {
tvalues[[i]] <- sum(diag(bensface[[remainingmodels[[i]]]]))
}
save(tvalues, file = "tvalues.Rdata")
|
4210db91e566af997ce2a9fd77a9389b78ce7ec4b987ae7eb772a49b61179565 | R | 277 | 9 | BehavStats <- function(aov.result) {
summary <- summary(aov.result)
eta <- eta_squared(aov.result)
post_hoc <- TukeyHSD(aov.result)
full_summary <- list(summary = summary,
eta = eta,
Tukey_posthoc = post_hoc)
}
|
fde54a2283379204349b995ddf4182692565a71029fc537b32379216c7661568 | R | 277 | 11 | ## Default options
oopts <- options(
warn = 1L,
showNCalls = 500L,
mc.cores = 2L,
future.debug = TRUE,
## Reset the following during testing in case
## they are set on the test system
future.availableCores.system = NULL,
future.availableCores.fallback = NULL
)
|
494da1798cf28e58054edff225d346013366d7e00c06cac915cd8d56993629f3 | R | 280 | 9 | #!/usr/bin/env Rscript
precheck <- function() {
## WORKAROUND: Remove checked pkgs that use file links, which otherwise
## produce warnings which are promoted to errors by revdepcheck.
unlink("revdep/checks/aroma.affymetrix", recursive = TRUE)
}
revdepcheck.extras::run()
|
70cc8e3f58c809ae6819e1e773537d239b0f9fd2d28573f26138ac538cb46f8d | R | 280 | 8 | .onLoad <- function(libname, pkgname) {
initScClass()
packageStartupMessage("Using sciClone version 1.1")
}
# Internal replacement for NORMT3::erf() using base R identity
# erf(x) = 2 * pnorm(x * sqrt(2)) - 1 (exact for real x)
erf <- function(x) 2 * pnorm(x * sqrt(2)) - 1
|
d5623a597c1aad2bb24128247749da2532a1ac96dd859a78c62b0854dd900e2f | R | 280 | 15 | #' find_outlier
#'
#' excludes outliers by IQR
#'
#' @param x numeric
#' @param mult numeric - how many IQRs
#' @export
find_outlier <- function(x,mult=1.5) {
return(x < quantile(x, .25,na.rm=T) - mult*IQR(x,na.rm=T) | x > quantile(x, .75,na.rm=T) + mult*IQR(x,na.rm=T))
}
|
597c88023e74c7d00e9d526779f4c47491ff7d718b86e0c538ed9a833d614733 | R | 287 | 19 | pid <- Sys.getpid()
a %<-% {
cat("Future 'a' ...\n")
Sys.getpid()
}
b %<-% {
cat("Future 'b' ...\n")
b1 %<-% {
cat("Future 'b1' ...\n")
Sys.getpid()
}
b2 %<-% {
cat("Future 'b2' ...\n")
Sys.getpid()
}
c(b.pid = Sys.getpid(), b1.pid = b1, b2.pid = b2)
}
|
4e1658b288ac04494d1464a562b67f5b8237e1a9d4308f690a413aa052022788 | R | 288 | 11 | # Download epilepsy data, described at
# http://www.gllamm.org/books/readme.html#11.3
epilep <- read.delim("http://www.gllamm.org/books/epilep.dat",
header = TRUE,
sep = "\t"
)
epilep$cons <- NULL
epilep$id <- NULL
epilep$lbas_trt <- NULL
usethis::use_data(epilep, overwrite = TRUE)
|
439f3b8c823c4c765ee7fb4d9c0cdb8274e31c22158ef02cb6c82266e1339e22 | R | 290 | 6 | sankey_overlap <- function(neuronalDf, bulkDf, clusterColor) {
n_cluster <- neuronalDf %>% filter(cluster_color == clusterColor)
overlap_cluster <- bulkDf %>% filter(genes %in% n_cluster$genes)
sum_cluster <- table(unlist(overlap_cluster$cluster_color))
return(sum_cluster)
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.