Skip to content

Commit 6a485ae

Browse files
author
LuizFCDuarte
committed
🔥 Remove PyCall and RCall inits
1 parent 59b2125 commit 6a485ae

File tree

5 files changed

+0
-85
lines changed

5 files changed

+0
-85
lines changed

Project.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ StateSpaceModels = "99342f36-827c-5390-97c9-d7f9ee765c78"
2525
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2626
TimeSeries = "9e3dc215-6440-5c97-bce1-76c03772f85e"
2727

28-
[weakdeps]
29-
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
30-
RCall = "6f49c342-dc21-5d91-9882-a32aef131414"
3128

3229
[compat]
3330
Alpine = "^0.5.6"
@@ -44,8 +41,6 @@ MathOptInterface = "^1.29.0"
4441
OffsetArrays = "^1.14.0"
4542
Optim = "^1.9.4"
4643
Pkg = "^1.6.7"
47-
PyCall = "^1.96.4"
48-
RCall = "^0.14.1"
4944
Random = "^1.6.7"
5045
Requires = "^1.3.0"
5146
StateSpaceModels = "^0.6.7"
@@ -55,8 +50,6 @@ julia = "1.0 - 1.11"
5550

5651
[extras]
5752
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
58-
PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0"
59-
RCall = "6f49c342-dc21-5d91-9882-a32aef131414"
6053
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
6154
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
6255

src/Sarimax.jl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ using TimeSeries
4343

4444
abstract type SarimaxModel end
4545

46-
function __init__()
47-
@require PyCall = "438e738f-606a-5dbb-bf0a-cddfbfd45ab0" include("python_init.jl")
48-
@require RCall = "6f49c342-dc21-5d91-9882-a32aef131414" include("r_init.jl")
49-
end
50-
5146
include("datasets.jl")
5247
include("datetime_utils.jl")
5348
include("exceptions.jl")

src/python_init.jl

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/r_init.jl

Lines changed: 0 additions & 35 deletions
This file was deleted.

test/utils.jl

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -103,25 +103,6 @@
103103
12,
104104
"hegy",
105105
)
106-
# TODO: Fix test of PyCall and RCall
107-
# @testset "ocsb test without PyCall" begin
108-
# @test Sarimax.selectSeasonalIntegrationOrder(values(airPassengers), 12, "ocsb") == StateSpaceModels.seasonal_strength_test(y, seasonality)
109-
# end
110-
111-
# @testset "ocsbR test without RCall" begin
112-
# @test Sarimax.selectSeasonalIntegrationOrder(values(airPassengers), 12, "ocsbR") == StateSpaceModels.seasonal_strength_test(y, seasonality)
113-
# end
114-
115-
# @testset "ocsb test with PyCall" begin
116-
# # Mock the Pkg.project().dependencies to simulate PyCall being installed
117-
# @test Sarimax.selectSeasonalIntegrationOrder(values(airPassengers), 12, "ocsb") == 1
118-
# end
119-
120-
# @testset "ocsbR test with RCall" begin
121-
# # Mock the Pkg.project().dependencies to simulate RCall being installed
122-
123-
# @test Sarimax.selectSeasonalIntegrationOrder(values(airPassengers), 12, "ocsbR") == 1
124-
# end
125106
end
126107

127108
@testset "selectIntegrationOrder" begin

0 commit comments

Comments
 (0)