Ничего необчного. Дистрибутивы Linux для Raspberry Pi поддерживают установку Julia из репозитория без проблем. Достаточно выполнить:
1 | sudo apt install julia |
Дальше в среде julia установка пакетов прошла в штатном режиме:
1 2 3 | using Pkg Pkg.add("ClincalTrialUtilities") Pkg.add("ReplicateBE") |
Тест также прошел без особенностей:
1 2 | Pkg.test("ClincalTrialUtilities") Pkg.test("ReplicateBE") |
Все работает как и ожидалось: вы можете спокойно расчитывать выборку и считать биоэквивалетность на джулии даже на ARM машинках. Полный вывод под катом.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 | pi@raspberrypi:~ $ julia _ _ _ _(_)_ | Documentation: https://docs.julialang.org (_) | (_) (_) | _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 1.0.3 _/ |\__'_|_|_|\__'_| | Raspbian ⛬ julia/1.0.3+dfsg-4+rpi1 |__/ | julia> using Pkg julia> Pkg.add("ClinicalTrialUtilities") Cloning default registries into /home/pi/.julia/registries Cloning registry General from "https://github.com/JuliaRegistries/General.git" Resolving package versions... Installed Reexport ──────────────────── v0.2.0 Installed URIParser ─────────────────── v0.4.1 Installed Parsers ───────────────────── v0.3.12 Installed OrderedCollections ────────── v1.2.0 Installed RecipesBase ───────────────── v0.8.0 Installed CategoricalArrays ─────────── v0.7.7 Installed DataStructures ────────────── v0.17.17 Installed TableTraits ───────────────── v1.0.0 Installed InvertedIndices ───────────── v1.0.0 Installed SortingAlgorithms ─────────── v0.3.1 Installed Compat ────────────────────── v3.10.0 Installed Tables ────────────────────── v1.0.4 Installed Arpack ────────────────────── v0.3.2 Installed PooledArrays ──────────────── v0.5.3 Installed IteratorInterfaceExtensions ─ v1.0.0 Installed ClinicalTrialUtilities ────── v0.2.5 Installed StatsFuns ─────────────────── v0.9.5 Installed JSON ──────────────────────── v0.21.0 Installed FilePathsBase ─────────────── v0.7.0 Installed SpecialFunctions ──────────── v0.8.0 Installed DataValueInterfaces ───────── v1.0.0 Installed Roots ─────────────────────── v1.0.1 Installed FillArrays ────────────────── v0.8.10 Installed BinDeps ───────────────────── v1.0.1 Installed Rmath ─────────────────────── v0.6.0 Installed StatsBase ─────────────────── v0.33.0 Installed Missings ──────────────────── v0.4.3 Installed WeakRefStrings ────────────── v0.6.2 Installed QuadGK ────────────────────── v2.3.1 Installed Distributions ─────────────── v0.23.2 Installed PDMats ────────────────────── v0.9.12 Installed DataAPI ───────────────────── v1.3.0 Installed BinaryProvider ────────────── v0.5.10 Installed DataFrames ────────────────── v0.20.2 Installed CSV ───────────────────────── v0.5.26 Updating `~/.julia/environments/v1.0/Project.toml` [535c2557] + ClinicalTrialUtilities v0.2.5 Updating `~/.julia/environments/v1.0/Manifest.toml` [7d9fca2a] + Arpack v0.3.2 [9e28174c] + BinDeps v1.0.1 [b99e7846] + BinaryProvider v0.5.10 [336ed68f] + CSV v0.5.26 [324d7699] + CategoricalArrays v0.7.7 [535c2557] + ClinicalTrialUtilities v0.2.5 [34da2185] + Compat v3.10.0 [9a962f9c] + DataAPI v1.3.0 [a93c6f00] + DataFrames v0.20.2 [864edb3b] + DataStructures v0.17.17 [e2d170a0] + DataValueInterfaces v1.0.0 [31c24e10] + Distributions v0.23.2 [48062228] + FilePathsBase v0.7.0 [1a297f60] + FillArrays v0.8.10 [41ab1584] + InvertedIndices v1.0.0 [82899510] + IteratorInterfaceExtensions v1.0.0 [682c06a0] + JSON v0.21.0 [e1d29d7a] + Missings v0.4.3 [bac558e1] + OrderedCollections v1.2.0 [90014a1f] + PDMats v0.9.12 [69de0a69] + Parsers v0.3.12 [2dfb63ee] + PooledArrays v0.5.3 [1fd47b50] + QuadGK v2.3.1 [3cdcf5f2] + RecipesBase v0.8.0 [189a3867] + Reexport v0.2.0 [79098fc4] + Rmath v0.6.0 [f2b01f46] + Roots v1.0.1 [a2af1166] + SortingAlgorithms v0.3.1 [276daf66] + SpecialFunctions v0.8.0 [2913bbd2] + StatsBase v0.33.0 [4c63d2b9] + StatsFuns v0.9.5 [3783bdb8] + TableTraits v1.0.0 [bd369af6] + Tables v1.0.4 [30578b45] + URIParser v0.4.1 [ea10d353] + WeakRefStrings v0.6.2 [2a0f44e3] + Base64 [ade2ca70] + Dates [8bb1440f] + DelimitedFiles [8ba89e20] + Distributed [9fa8497b] + Future [b77e0a4c] + InteractiveUtils [76f85450] + LibGit2 [8f399da3] + Libdl [37e2e46d] + LinearAlgebra [56ddb016] + Logging [d6f4376e] + Markdown [a63ad114] + Mmap [44cfe95a] + Pkg [de0858da] + Printf [3fa0cd96] + REPL [9a3f8284] + Random [ea8e919c] + SHA [9e88b42a] + Serialization [1a1011a3] + SharedArrays [6462fe0b] + Sockets [2f01184e] + SparseArrays [10745b16] + Statistics [4607b0f0] + SuiteSparse [8dfed614] + Test [cf7118a7] + UUIDs [4ec0a83e] + Unicode Building Arpack ──────────→ `~/.julia/packages/Arpack/zCmTA/deps/build.log` Building SpecialFunctions → `~/.julia/packages/SpecialFunctions/ne2iw/deps/build.l Building Rmath ───────────→ `~/.julia/packages/Rmath/BoBag/deps/build.log` julia> Pkg.add("ReplicateBE") Resolving package versions... Installed Parameters ───────────── v0.12.1 Installed ArrayInterface ───────── v2.2.0 Installed NaNMath ──────────────── v0.3.3 Installed LineSearches ─────────── v7.0.1 Installed StatsModels ──────────── v0.6.11 Installed StaticArrays ─────────── v0.12.3 Installed DiffResults ──────────── v1.0.2 Installed Optim ────────────────── v0.21.0 Installed DiffRules ────────────── v1.0.1 Installed CommonSubexpressions ─── v0.2.0 Installed ForwardDiff ──────────── v0.10.10 Installed Requires ─────────────── v1.0.1 Installed PositiveFactorizations ─ v0.2.3 Installed DiffEqDiffTools ──────── v1.6.0 Installed UnPack ───────────────── v1.0.1 Installed Calculus ─────────────── v0.5.1 Installed NLSolversBase ────────── v7.5.0 Installed ShiftedArrays ────────── v1.0.0 Installed ReplicateBE ──────────── v1.0.8 Updating `~/.julia/environments/v1.0/Project.toml` [671d9d50] + ReplicateBE v1.0.8 Updating `~/.julia/environments/v1.0/Manifest.toml` [4fba245c] + ArrayInterface v2.2.0 [49dc2e85] + Calculus v0.5.1 [bbf7d656] + CommonSubexpressions v0.2.0 [01453d9d] + DiffEqDiffTools v1.6.0 [163ba53b] + DiffResults v1.0.2 [b552c78f] + DiffRules v1.0.1 [f6369f11] + ForwardDiff v0.10.10 [d3d80556] + LineSearches v7.0.1 [d41bc354] + NLSolversBase v7.5.0 [77ba4419] + NaNMath v0.3.3 [429524aa] + Optim v0.21.0 [d96e819e] + Parameters v0.12.1 [85a6dd25] + PositiveFactorizations v0.2.3 [671d9d50] + ReplicateBE v1.0.8 [ae029012] + Requires v1.0.1 [1277b4bf] + ShiftedArrays v1.0.0 [90137ffa] + StaticArrays v0.12.3 [3eaba693] + StatsModels v0.6.11 [3a884ed6] + UnPack v1.0.1 julia> julia> Pkg.test("ReplicateBE") Testing ReplicateBE Resolving package versions... Status `/tmp/tmpUSSTFh/Manifest.toml` [7d9fca2a] Arpack v0.3.2 [4fba245c] ArrayInterface v2.2.0 [9e28174c] BinDeps v1.0.1 [b99e7846] BinaryProvider v0.5.10 [336ed68f] CSV v0.5.26 [49dc2e85] Calculus v0.5.1 [324d7699] CategoricalArrays v0.7.7 [bbf7d656] CommonSubexpressions v0.2.0 [34da2185] Compat v3.10.0 [9a962f9c] DataAPI v1.3.0 [a93c6f00] DataFrames v0.20.2 [864edb3b] DataStructures v0.17.17 [e2d170a0] DataValueInterfaces v1.0.0 [01453d9d] DiffEqDiffTools v1.6.0 [163ba53b] DiffResults v1.0.2 [b552c78f] DiffRules v1.0.1 [31c24e10] Distributions v0.23.2 [48062228] FilePathsBase v0.7.0 [1a297f60] FillArrays v0.8.10 [f6369f11] ForwardDiff v0.10.10 [41ab1584] InvertedIndices v1.0.0 [82899510] IteratorInterfaceExtensions v1.0.0 [682c06a0] JSON v0.21.0 [d3d80556] LineSearches v7.0.1 [e1d29d7a] Missings v0.4.3 [d41bc354] NLSolversBase v7.5.0 [77ba4419] NaNMath v0.3.3 [429524aa] Optim v0.21.0 [bac558e1] OrderedCollections v1.2.0 [90014a1f] PDMats v0.9.12 [d96e819e] Parameters v0.12.1 [69de0a69] Parsers v0.3.12 [2dfb63ee] PooledArrays v0.5.3 [85a6dd25] PositiveFactorizations v0.2.3 [1fd47b50] QuadGK v2.3.1 [189a3867] Reexport v0.2.0 [671d9d50] ReplicateBE v1.0.8 [ae029012] Requires v1.0.1 [79098fc4] Rmath v0.6.0 [1277b4bf] ShiftedArrays v1.0.0 [a2af1166] SortingAlgorithms v0.3.1 [276daf66] SpecialFunctions v0.8.0 [90137ffa] StaticArrays v0.12.3 [2913bbd2] StatsBase v0.33.0 [4c63d2b9] StatsFuns v0.9.5 [3eaba693] StatsModels v0.6.11 [3783bdb8] TableTraits v1.0.0 [bd369af6] Tables v1.0.4 [30578b45] URIParser v0.4.1 [3a884ed6] UnPack v1.0.1 [ea10d353] WeakRefStrings v0.6.2 [2a0f44e3] Base64 [`@stdlib/Base64`] [ade2ca70] Dates [`@stdlib/Dates`] [8bb1440f] DelimitedFiles [`@stdlib/DelimitedFiles`] [8ba89e20] Distributed [`@stdlib/Distributed`] [9fa8497b] Future [`@stdlib/Future`] [b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`] [76f85450] LibGit2 [`@stdlib/LibGit2`] [8f399da3] Libdl [`@stdlib/Libdl`] [37e2e46d] LinearAlgebra [`@stdlib/LinearAlgebra`] [56ddb016] Logging [`@stdlib/Logging`] [d6f4376e] Markdown [`@stdlib/Markdown`] [a63ad114] Mmap [`@stdlib/Mmap`] [44cfe95a] Pkg [`@stdlib/Pkg`] [de0858da] Printf [`@stdlib/Printf`] [3fa0cd96] REPL [`@stdlib/REPL`] [9a3f8284] Random [`@stdlib/Random`] [ea8e919c] SHA [`@stdlib/SHA`] [9e88b42a] Serialization [`@stdlib/Serialization`] [1a1011a3] SharedArrays [`@stdlib/SharedArrays`] [6462fe0b] Sockets [`@stdlib/Sockets`] [2f01184e] SparseArrays [`@stdlib/SparseArrays`] [10745b16] Statistics [`@stdlib/Statistics`] [4607b0f0] SuiteSparse [`@stdlib/SuiteSparse`] [8dfed614] Test [`@stdlib/Test`] [cf7118a7] UUIDs [`@stdlib/UUIDs`] [4ec0a83e] Unicode [`@stdlib/Unicode`] Test Summary: | Pass Total Basic mixed model test | 19 19 Test Summary: | Pass Total #1 Patterson and Jones 2017 E 4.3 | 8 8 Test Summary: | Pass Total #2 Shein-Chung Chow, Jen-pei Liu 2009 E 9.4.1 | 3 3 Test Summary: | Pass Total #3 Patterson and Jones 2017 E 4.4 | 6 6 Test Summary: | Pass Total #4 QA 1 Bioequivalence 2x2x4, UnB, NC Dataset | 6 6 Test Summary: | Pass Total #5 Patterson 2012 doi:10.1002/pst.498 AUC | 3 3 Test Summary: | Pass Total #6 Shumaker 1998 doi:10.1177/009286159803200426 | 4 4 Test Summary: | Pass Total # Utils test | 14 14 Test Summary: | Pass Total # Random DataSet test | 7 7 Test Summary: | Pass Total # Validation with generated datasets | 109 109 Test Summary: | Pass Total # Simulation | 2 2 Testing ReplicateBE tests passed julia> Pkg.test("ClinicalTrialUtilities") Testing ClinicalTrialUtilities Resolving package versions... Installed Measures ────────── v0.3.1 Installed PlotThemes ──────── v1.0.3 Installed FFMPEG ──────────── v0.2.4 Installed Plots ───────────── v0.29.9 Installed Colors ──────────── v0.12.1 Installed PlotUtils ───────── v0.6.5 Installed GeometryTypes ───── v0.8.3 Installed Showoff ─────────── v0.3.1 Installed ColorTypes ──────── v0.10.3 Installed FixedPointNumbers ─ v0.8.0 Installed Contour ─────────── v0.5.3 Installed GR ──────────────── v0.48.0 Building FFMPEG → `~/.julia/packages/FFMPEG/guN1x/deps/build.log` Building GR ────→ `~/.julia/packages/GR/yMV3y/deps/build.log` Building Plots ─→ `~/.julia/packages/Plots/cc8wh/deps/build.log` Status `/tmp/tmpWENUqr/Manifest.toml` [7d9fca2a] Arpack v0.3.2 [9e28174c] BinDeps v1.0.1 [b99e7846] BinaryProvider v0.5.10 [336ed68f] CSV v0.5.26 [324d7699] CategoricalArrays v0.7.7 [535c2557] ClinicalTrialUtilities v0.2.5 [3da002f7] ColorTypes v0.10.3 [5ae59095] Colors v0.12.1 [34da2185] Compat v3.10.0 [d38c429a] Contour v0.5.3 [9a962f9c] DataAPI v1.3.0 [a93c6f00] DataFrames v0.20.2 [864edb3b] DataStructures v0.17.17 [e2d170a0] DataValueInterfaces v1.0.0 [31c24e10] Distributions v0.23.2 [c87230d0] FFMPEG v0.2.4 [48062228] FilePathsBase v0.7.0 [1a297f60] FillArrays v0.8.10 [53c48c17] FixedPointNumbers v0.8.0 [28b8d3ca] GR v0.48.0 [4d00f742] GeometryTypes v0.8.3 [41ab1584] InvertedIndices v1.0.0 [82899510] IteratorInterfaceExtensions v1.0.0 [682c06a0] JSON v0.21.0 [442fdcdd] Measures v0.3.1 [e1d29d7a] Missings v0.4.3 [77ba4419] NaNMath v0.3.3 [bac558e1] OrderedCollections v1.2.0 [90014a1f] PDMats v0.9.12 [69de0a69] Parsers v0.3.12 [ccf2f8ad] PlotThemes v1.0.3 [995b91a9] PlotUtils v0.6.5 [91a5bcdd] Plots v0.29.9 [2dfb63ee] PooledArrays v0.5.3 [1fd47b50] QuadGK v2.3.1 [3cdcf5f2] RecipesBase v0.8.0 [189a3867] Reexport v0.2.0 [ae029012] Requires v1.0.1 [79098fc4] Rmath v0.6.0 [f2b01f46] Roots v1.0.1 [992d4aef] Showoff v0.3.1 [a2af1166] SortingAlgorithms v0.3.1 [276daf66] SpecialFunctions v0.8.0 [90137ffa] StaticArrays v0.12.3 [2913bbd2] StatsBase v0.33.0 [4c63d2b9] StatsFuns v0.9.5 [3783bdb8] TableTraits v1.0.0 [bd369af6] Tables v1.0.4 [30578b45] URIParser v0.4.1 [ea10d353] WeakRefStrings v0.6.2 [2a0f44e3] Base64 [`@stdlib/Base64`] [ade2ca70] Dates [`@stdlib/Dates`] [8bb1440f] DelimitedFiles [`@stdlib/DelimitedFiles`] [8ba89e20] Distributed [`@stdlib/Distributed`] [9fa8497b] Future [`@stdlib/Future`] [b77e0a4c] InteractiveUtils [`@stdlib/InteractiveUtils`] [76f85450] LibGit2 [`@stdlib/LibGit2`] [8f399da3] Libdl [`@stdlib/Libdl`] [37e2e46d] LinearAlgebra [`@stdlib/LinearAlgebra`] [56ddb016] Logging [`@stdlib/Logging`] [d6f4376e] Markdown [`@stdlib/Markdown`] [a63ad114] Mmap [`@stdlib/Mmap`] [44cfe95a] Pkg [`@stdlib/Pkg`] [de0858da] Printf [`@stdlib/Printf`] [3fa0cd96] REPL [`@stdlib/REPL`] [9a3f8284] Random [`@stdlib/Random`] [ea8e919c] SHA [`@stdlib/SHA`] [9e88b42a] Serialization [`@stdlib/Serialization`] [1a1011a3] SharedArrays [`@stdlib/SharedArrays`] [6462fe0b] Sockets [`@stdlib/Sockets`] [2f01184e] SparseArrays [`@stdlib/SparseArrays`] [10745b16] Statistics [`@stdlib/Statistics`] [4607b0f0] SuiteSparse [`@stdlib/SuiteSparse`] [8dfed614] Test [`@stdlib/Test`] [cf7118a7] UUIDs [`@stdlib/UUIDs`] [4ec0a83e] Unicode [`@stdlib/Unicode`] Package name: ClinicalTrialUtilities Clinical Trial Power and Sample Size Utilities Copyright © 2019 Vladimir Arnautov aka PharmCat (mail@pharmcat.net) For references, citations and copyrights run: ClinicalTrialUtilities.citation() Licence: ClinicalTrialUtilities.licence() Test Summary: | Info: | No tests ---------------------------------- --------- START TEST --------- ---------------------------------- ---------------------------------- Test Summary: | Pass Total #1 ctsamplen Test | 21 21 ---------------------------------- Test Summary: | Pass Total #2 ctpower Test | 17 17 ---------------------------------- Test Summary: | Pass Total #3 besamplen Test | 18 18 ---------------------------------- Test Summary: | Pass Total #4 bepower Test | 26 26 ---------------------------------- Test Summary: | Pass Total #5 utils Test | 19 19 ---------------------------------- Test Summary: | Pass Total Internal functions test | 34 34 ---------------------------------- Test Summary: | Pass Total CI Test | 150 150 ---------------------------------- Test Summary: | Pass Total Simulations | 2 2 ---------------------------------- Test Summary: | Pass Total descriptives | 37 37 ---------------------------------- Test Summary: | Pass Total Frequency | 2 2 ---------------------------------- ┌ Warning: `names!(df::AbstractDataFrame, vals::Vector{Symbol}; makeunique::Bool=false)` is deprecated, use `rename!(df, vals, makeunique=makeunique)` instead. │ caller = #randomtable#150(::Int32, ::Int32, ::Int32, ::Array{Int32,1}, ::Array{String,1}, ::Int32, ::Function) at randomization.jl:77 └ @ ClinicalTrialUtilities ~/.julia/packages/ClinicalTrialUtilities/Aa6al/src/randomization.jl:77 Test Summary: | Pass Total Random | 2 2 ---------------------------------- Test Summary: | Pass Total PK | 75 75 ---------------------------------- Test Summary: | Pass Total UPK | 4 4 ---------------------------------- Test Summary: | Pass Total PD | 12 12 ---------------------------------- Test Summary: | Pass Total Scenario | 3 3 ---------------------------------- Test Summary: | Pass Total HTML export | 1 1 ---------------------------------- Test Summary: | Pass Total Errors | 9 9 Testing ClinicalTrialUtilities tests passed julia> versioninfo(verbose = true) Julia Version 1.0.3 Platform Info: OS: Linux (arm-linux-gnueabihf) Raspbian GNU/Linux 10 (buster) uname: Linux 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l unknown CPU: ARMv7 Processor rev 3 (v7l): speed user nice sys idle irq #1 1500 MHz 406674 s 435266 s 223107 s 13883621 s 0 s #2 1500 MHz 298684 s 439102 s 142311 s 14102178 s 0 s #3 1500 MHz 470598 s 567600 s 230747 s 13713427 s 0 s #4 1500 MHz 186990 s 308035 s 101501 s 14390818 s 0 s Memory: 1.8944778442382812 GB (475.24609375 MB free) Uptime: 149984.0 sec Load Avg: 1.310546875 1.5234375 1.70556640625 WORD_SIZE: 32 LIBM: libopenlibm LLVM: libLLVM-6.0.0 (ORCJIT, cortex-a72) Environment: HOME = /home/pi TERM = xterm PATH = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games |