Skip to content

Commit

Permalink
Merge pull request #68 from JuliaStats/aa/1.3
Browse files Browse the repository at this point in the history
Use Rmath_jll in place of BinaryProvider
  • Loading branch information
andreasnoack authored Nov 27, 2019
2 parents c80638a + 2ed1d44 commit 6e752e8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 78 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ os:
- linux
- osx
julia:
- 0.7
- 1.0
- 1.2
- 1.3
- nightly
notifications:
email: false
Expand Down
15 changes: 7 additions & 8 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,16 @@ uuid = "79098fc4-a85e-5d69-aa6a-4863f24498fa"
version = "0.6.0"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Rmath_jll = "f50d1b31-88e8-58de-be2c-1cc44531875f"

[compat]
Rmath_jll = "0.2"
julia = "1.3"

[extras]
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
BinaryProvider = "0.5"
julia = "1"

[targets]
test = ["Test"]
test = ["Statistics", "Test"]
5 changes: 2 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
environment:
matrix:
- julia_version: 1.0
- julia_version: 1.2
- julia_version: 1.3
- julia_version: latest

platform:
Expand Down Expand Up @@ -34,4 +33,4 @@ build_script:

test_script:
- echo "%JL_TEST_SCRIPT%"
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"
7 changes: 0 additions & 7 deletions deps/.gitignore

This file was deleted.

46 changes: 0 additions & 46 deletions deps/build.jl

This file was deleted.

12 changes: 1 addition & 11 deletions src/Rmath.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,11 @@
## This module is for archival purposes. The interface in the
## Distributions module is much more effective.

__precompile__()

module Rmath

using Rmath_jll
using Random

# use dirname(@__FILE__) instead of Pkg.dir, since the latter will
# cause the package to not work if installed in some other location
depsjl = joinpath(@__DIR__, "..", "deps", "deps.jl")
if isfile(depsjl)
include(depsjl)
else
error("Rmath not properly installed. Please run Pkg.build(\"Rmath\") and restart julia")
end

export dbeta,pbeta,qbeta,rbeta # Beta distribution (shape1, shape2)
export dbinom,pbinom,qbinom,rbinom # Binomial distribution (size, prob)
export dcauchy,pcauchy,qcauchy,rcauchy # Cauchy distribution (location, scale)
Expand Down

0 comments on commit 6e752e8

Please sign in to comment.