Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update #250

Open
wants to merge 1,280 commits into
base: epicsa
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1280 commits
Select commit Hold shift + click to select a range
2afce42
Merge branch 'namedialog' of https://github.com/Fidel365/R-Instat int…
Fidel365 Nov 27, 2024
584c2bc
updating_column_selection
N-thony Nov 27, 2024
6928710
Implementated Output Naming System for One Variable Graph
derekagorhom Nov 27, 2024
30dd7a6
minor bug fixes
N-thony Nov 27, 2024
9f9c38a
improve the rename of multiple column when fileter is applied
N-thony Nov 27, 2024
35c653a
fixed the renaming with when selection applied
N-thony Nov 27, 2024
fb25373
Merge pull request #9278 from Fidel365/namedialog
N-thony Nov 28, 2024
ad8fcdb
Merge pull request #108 from IDEMSInternational/master
N-thony Nov 28, 2024
933921b
minor addition
N-thony Nov 28, 2024
ee6dc92
retaining the status rename_with options after re-opening
N-thony Nov 28, 2024
526d44a
Change made
MeSophie Nov 28, 2024
39f452c
changes
Vitalis95 Nov 28, 2024
9391ca3
Merge pull request #9197 from Vitalis95/2_3Varsummaries
N-thony Nov 29, 2024
f673f73
Merge pull request #302 from IDEMSInternational/master
Vitalis95 Nov 29, 2024
2a0049c
code improvements
Fidel365 Nov 29, 2024
6cdce0e
changes
Vitalis95 Nov 29, 2024
a4a1ce1
Merge branch 'IDEMSInternational:master' into describebacktoback
Fidel365 Nov 29, 2024
0fd5a5d
minor change made
MeSophie Nov 29, 2024
98e8c12
changes to the code
Vitalis95 Dec 2, 2024
297c7ee
improved the display of shapefile data
N-thony Dec 2, 2024
d876dba
minor change made
MeSophie Dec 2, 2024
5a53edc
Merge pull request #280 from IDEMSInternational/master
MeSophie Dec 2, 2024
739ad1b
Fixes bug with the order=anyclass parameter when a factor is not sele…
derekagorhom Dec 2, 2024
8248ffd
Added a tooltip for short view of the original data
N-thony Dec 2, 2024
21ca025
Adding option to rename labels
lilyclements Dec 2, 2024
ae37c80
fixed developer error
N-thony Dec 2, 2024
8afb746
improve the renaming of geometry column
N-thony Dec 3, 2024
eb95a5c
minor change in the rename function
N-thony Dec 3, 2024
8474fc7
formatting the geomtry data
N-thony Dec 3, 2024
59080be
minor change
N-thony Dec 3, 2024
e66bac1
bug fixes
N-thony Dec 3, 2024
a5c9507
changes
Vitalis95 Dec 3, 2024
0a4ec7f
changes
Vitalis95 Dec 3, 2024
b3383be
Merge pull request #9290 from Vitalis95/display_2_3Var
N-thony Dec 3, 2024
c39411a
Merge pull request #9228 from derekagorhom/Bug_Fixes_Parcood
N-thony Dec 3, 2024
90d3fdb
Change made
MeSophie Dec 3, 2024
34c55bb
Change made
MeSophie Dec 3, 2024
ec7a0e2
Merge pull request #9276 from Vitalis95/geom_lineissue
N-thony Dec 4, 2024
2da718d
Merge pull request #305 from IDEMSInternational/master
Vitalis95 Dec 4, 2024
1d34edd
changes to the code
Vitalis95 Dec 4, 2024
d4b983e
Merge pull request #306 from lilyclements/rename_labels-addition
Vitalis95 Dec 4, 2024
8e3f2ae
Update data_object_R6.R
lilyclements Dec 4, 2024
622805a
Update data_object_R6.R
lilyclements Dec 4, 2024
f4c86e9
changes
Vitalis95 Dec 4, 2024
077f52a
Merge pull request #307 from lilyclements/rename_labels-addition
Vitalis95 Dec 4, 2024
088d3c1
changes to the code
Vitalis95 Dec 4, 2024
40978a9
Merge pull request #9281 from derekagorhom/Output_system_OneVar_Graph
N-thony Dec 5, 2024
f8bdb78
Merge pull request #9275 from N-thony/added_minmax_autofill
N-thony Dec 5, 2024
2a9b0c1
Improved the Mosaic Plot dialog
MeSophie Dec 5, 2024
a7f4e57
minor change made
MeSophie Dec 5, 2024
193f5cf
minor change made
MeSophie Dec 5, 2024
cf748ee
Merge pull request #9279 from MeSophie/FillGapIssue9271
N-thony Dec 6, 2024
20d148a
Merge pull request #9192 from MeSophie/SummaryClimaticissue9067
N-thony Dec 6, 2024
fc4a9ad
changes to the code
Vitalis95 Dec 6, 2024
6a7b685
Merge pull request #308 from IDEMSInternational/master
Vitalis95 Dec 6, 2024
1c0869b
Merge pull request #282 from IDEMSInternational/master
MeSophie Dec 6, 2024
492e7af
removed unnecessary code
N-thony Dec 9, 2024
db789c2
Merge pull request #283 from IDEMSInternational/master
MeSophie Dec 9, 2024
eeca0ac
Update One Variable Summarise and changing the Format options to Tabl…
derekagorhom Dec 9, 2024
0ead472
Hided Model, Structured, experiments, and Procuremen menus
MeSophie Dec 9, 2024
c69acbc
Change made
MeSophie Dec 10, 2024
4f091a2
changes to the code
Vitalis95 Dec 11, 2024
8db6d3c
changes
Vitalis95 Dec 11, 2024
e062aec
Merge branch 'IDEMSInternational:master' into describebacktoback
Fidel365 Dec 11, 2024
c33f5ee
changes
Fidel365 Dec 11, 2024
43aaadb
minor change made
MeSophie Dec 12, 2024
5337369
changes
Vitalis95 Dec 12, 2024
b4e0b0b
minor change made
MeSophie Dec 12, 2024
9009932
Code changes to the tables function
derekagorhom Dec 12, 2024
e250348
Removing unwanted code
derekagorhom Dec 12, 2024
db934a0
changes to the code
Vitalis95 Dec 12, 2024
42e161e
Code Changes
derekagorhom Dec 12, 2024
fc270fd
Code Change
derekagorhom Dec 12, 2024
b745f6d
minor change
MeSophie Dec 12, 2024
fbcc184
Merge pull request #9298 from MeSophie/HidingMenus9268
N-thony Dec 12, 2024
2fda5d3
Merge pull request #9297 from derekagorhom/Update_One_Variable_Summarise
N-thony Dec 12, 2024
f9405df
changes to the code
Vitalis95 Dec 12, 2024
309931d
changes to the code
Vitalis95 Dec 13, 2024
22aae90
Merge pull request #9295 from Vitalis95/rename_labels
N-thony Dec 13, 2024
79c9c6e
improved the message and version number
N-thony Dec 16, 2024
b0de294
Fixes bug in adding variable in multiple receiver
N-thony Dec 16, 2024
67b3f26
added the message for internet issue
N-thony Dec 17, 2024
36547d1
improved menu titles with (Online)
N-thony Dec 17, 2024
12ab2b4
Merge branch 'master' into check_version
N-thony Dec 17, 2024
224220e
Merge pull request #285 from IDEMSInternational/master
MeSophie Dec 17, 2024
95db4f7
Merge pull request #9310 from N-thony/check_version
Patowhiz Dec 17, 2024
98656ea
Fixed Item placement in the View menu
derekagorhom Dec 17, 2024
f7d3d59
Merge pull request #309 from IDEMSInternational/master
Vitalis95 Dec 18, 2024
ef554ce
changes
Vitalis95 Dec 18, 2024
c1c4ed4
Merge pull request #9291 from N-thony/reogrid_shapefile
Patowhiz Dec 18, 2024
cf9c758
improve libPaths
N-thony Dec 18, 2024
ed3d4c2
improved the addtional path setting code
N-thony Dec 18, 2024
9f930b9
changes to the code
Vitalis95 Dec 19, 2024
d284334
Code Changes
derekagorhom Dec 19, 2024
309d0a3
Revert "Code Changes"
derekagorhom Dec 19, 2024
5c83e14
code Changes
derekagorhom Dec 19, 2024
317b106
Merge branch 'master' into Menu_Changes_ViewMenu
derekagorhom Dec 19, 2024
5021c04
Merge pull request #9317 from Vitalis95/two_three_var
N-thony Dec 19, 2024
1569960
Merge pull request #9316 from derekagorhom/Menu_Changes_ViewMenu
N-thony Dec 19, 2024
3ebf9ab
Using nested loops approach instead of FindItemWithText
N-thony Dec 19, 2024
bab30e9
Fixed bug in PR 9297
derekagorhom Dec 21, 2024
07571a1
Removing unnecessary code
derekagorhom Dec 21, 2024
898a813
Change made
MeSophie Dec 30, 2024
fa3caa6
Change made
MeSophie Jan 3, 2025
133552f
Tidy code for Prepare > Dataframe > View Dialog
derekagorhom Jan 6, 2025
de10090
Merge pull request #310 from IDEMSInternational/master
Vitalis95 Jan 7, 2025
8e60a47
Merge pull request #290 from IDEMSInternational/master
MeSophie Jan 7, 2025
38853ef
changes to the code
Vitalis95 Jan 7, 2025
941c285
Some change made on Plot Options options
MeSophie Jan 7, 2025
46b21bb
fixed the display of comments in the output window
N-thony Jan 8, 2025
ca00f5e
implementing code comment
N-thony Jan 8, 2025
55cc4d1
Implementing comment/uncomment lines
N-thony Jan 8, 2025
6065307
code improvement
N-thony Jan 8, 2025
4d5f168
changes
Vitalis95 Jan 8, 2025
b1882b8
Merge branch 'IDEMSInternational:master' into describebacktoback
Fidel365 Jan 8, 2025
46aee2e
Merge pull request #9333 from Vitalis95/adding_themes
N-thony Jan 8, 2025
d3a9de3
Code changes
derekagorhom Jan 9, 2025
c242676
Merge pull request #9331 from derekagorhom/Tidyup_ViewDialog
N-thony Jan 9, 2025
8706b3f
Merge pull request #9335 from MeSophie/ImproveBarChatIssue9315
N-thony Jan 9, 2025
006fb85
code amendement
N-thony Jan 9, 2025
f2bf7c3
minor design change
N-thony Jan 9, 2025
9544c25
Merge pull request #9285 from Fidel365/describebacktoback
N-thony Jan 9, 2025
4680604
Fixes issue with convert numeric not popping up
derekagorhom Jan 9, 2025
ba7f4aa
Code changes
derekagorhom Jan 9, 2025
b92a357
Merge pull request #9341 from derekagorhom/Right_Click_Fixes
N-thony Jan 9, 2025
a25a158
Fortmatting script from preview window
N-thony Jan 9, 2025
30640c5
minor change
N-thony Jan 9, 2025
9aee4f3
minor code change
N-thony Jan 10, 2025
965b18f
code improvement
N-thony Jan 10, 2025
c507c84
code improvement
N-thony Jan 10, 2025
bddd9f9
Merge branch 'master' into updating_seletion_condition
N-thony Jan 10, 2025
4f19394
Merge pull request #9322 from derekagorhom/Update_One_Variable_Summarise
N-thony Jan 10, 2025
03e7a7c
changes
Vitalis95 Jan 10, 2025
fb0a1f6
changes
Vitalis95 Jan 10, 2025
a0fef0c
Enabled R viewer
Fidel365 Jan 10, 2025
2a052d1
Merge pull request #9338 from N-thony/comment_code
Patowhiz Jan 10, 2025
2f5a9ff
Merge pull request #295 from IDEMSInternational/master
MeSophie Jan 10, 2025
8e95399
changes
Vitalis95 Jan 10, 2025
aec89e4
changes
Vitalis95 Jan 10, 2025
d5ddca1
Merge pull request #9344 from Vitalis95/twothreevarsum
N-thony Jan 10, 2025
cc72266
Merge branch 'master' into histogram
Vitalis95 Jan 10, 2025
47b9d2e
Merge branch 'IDEMSInternational:master' into twovariablesummarize
Fidel365 Jan 10, 2025
f3b2e23
onewayfrequency changes
Fidel365 Jan 10, 2025
e212e43
revert code for describetwovariable
Fidel365 Jan 10, 2025
d40a9b7
Merge branch 'twovariablesummarize' of https://github.com/Fidel365/R-…
Fidel365 Jan 10, 2025
eda95cf
improving main R viewer
Fidel365 Jan 10, 2025
918b8c9
Merge pull request #9337 from N-thony/fixed_display_comments
Patowhiz Jan 11, 2025
395d7f6
Merge pull request #9343 from N-thony/formatting_script_preview
Patowhiz Jan 11, 2025
c406347
Merge pull request #9311 from N-thony/fix_adding_variable
Patowhiz Jan 11, 2025
8a61c8d
Merge pull request #9302 from Fidel365/twovariablesummarize
N-thony Jan 13, 2025
8133bae
Merge pull request #9349 from Fidel365/enabledRviewer
N-thony Jan 13, 2025
179f3f3
Merge pull request #9296 from MeSophie/Mosaicplotissue9213
N-thony Jan 13, 2025
ff06e7f
Merge pull request #311 from IDEMSInternational/master
Vitalis95 Jan 13, 2025
607fcf8
changes to the code
Vitalis95 Jan 13, 2025
9a924b4
changes
Vitalis95 Jan 13, 2025
9354ee0
Merge branch 'histogram' of https://github.com/Vitalis95/R-Instat int…
Vitalis95 Jan 13, 2025
96e8882
Merge pull request #9294 from Vitalis95/histogram
N-thony Jan 13, 2025
de7f1d5
Merge pull request #9355 from Vitalis95/one_var_sum
N-thony Jan 13, 2025
d6bdffa
bottom right click changes
Fidel365 Jan 13, 2025
6b61592
Merge pull request #9318 from N-thony/improve_additional_libPath
ChrisMarsh82 Jan 13, 2025
052dd1c
Merge pull request #9356 from Fidel365/bottomrightclick
N-thony Jan 13, 2025
c7e257d
design changes
Fidel365 Jan 13, 2025
91805be
Merge pull request #296 from IDEMSInternational/master
MeSophie Jan 14, 2025
06a5edf
Merge branch 'IDEMSInternational:master' into metadata
Fidel365 Jan 15, 2025
d994fa9
Add the R viewer to the Describe > View Graph dialog
MeSophie Jan 15, 2025
7cb167b
Auto-Saving Data: Triggering Saves Only on Data Changes
N-thony Jan 15, 2025
1a4fce5
Deleted unused Rows
MeSophie Jan 15, 2025
fdcbb00
code cleaning
Fidel365 Jan 15, 2025
bd1ac82
Merge branch 'metadata' of https://github.com/Fidel365/R-Instat into …
Fidel365 Jan 15, 2025
a9f9246
Merge pull request #298 from IDEMSInternational/master
MeSophie Jan 15, 2025
dd841b8
Merge pull request #312 from IDEMSInternational/master
Vitalis95 Jan 16, 2025
ef93b7b
changes
Vitalis95 Jan 16, 2025
60541a9
changes
Vitalis95 Jan 16, 2025
e7bceca
changes
Vitalis95 Jan 16, 2025
eeff793
Change made
MeSophie Jan 16, 2025
3e8b141
Update inno_install_script_64bit.iss
N-thony Jan 16, 2025
2aa62e8
Merge pull request #299 from IDEMSInternational/master
MeSophie Jan 16, 2025
52e712a
Merge pull request #9364 from Vitalis95/outfill
N-thony Jan 16, 2025
93411cb
Merge pull request #313 from IDEMSInternational/master
Vitalis95 Jan 16, 2025
6cb8357
bug fix in levels/labels when filter is applied
N-thony Jan 17, 2025
cfa789b
minor comment change
N-thony Jan 17, 2025
03e8460
small change
N-thony Jan 17, 2025
d9fc04a
bug when there is no data loading
N-thony Jan 17, 2025
3114fc1
minor change made
MeSophie Jan 17, 2025
aa5680b
Additional button in the Insert > Save Results Tab
derekagorhom Jan 17, 2025
821c32a
improving efficiency in crop_definitions R code
lilyclements Jan 17, 2025
dedc572
fix in print return table
lilyclements Jan 17, 2025
c36f7e4
Merge pull request #9369 from N-thony/bug_fix_levelslabels
Patowhiz Jan 20, 2025
2ac1d11
Cosmetic and Code Changes
derekagorhom Jan 20, 2025
cec5b51
Code Changes
derekagorhom Jan 20, 2025
4672a85
fixing calling year in crop_definitions
lilyclements Jan 20, 2025
1ee5fa3
Update calculations.R
lilyclements Jan 20, 2025
b9bff55
Merge pull request #9371 from derekagorhom/Fixes_Insert_Dialog
N-thony Jan 21, 2025
38e1888
Merge pull request #9365 from N-thony/N-thony-patch-1
ChrisMarsh82 Jan 21, 2025
f51c576
Merge pull request #300 from IDEMSInternational/master
MeSophie Jan 21, 2025
cfefee5
adding station into prop calculations
lilyclements Jan 21, 2025
80d4ea9
tidying code
lilyclements Jan 21, 2025
5084b66
running print_table as return not print
lilyclements Jan 21, 2025
b762d95
removing print_table if statement
lilyclements Jan 21, 2025
ec2a132
adding note
lilyclements Jan 21, 2025
593128a
Added Climdex.Pcic package
MeSophie Jan 21, 2025
4f2e803
removing print_table option in dlg and R code
lilyclements Jan 21, 2025
4ca07e1
fixing outputted column order
lilyclements Jan 21, 2025
bdce50a
remove comment
lilyclements Jan 21, 2025
306a6ad
match.arg check
lilyclements Jan 21, 2025
285f045
resolving comments
N-thony Jan 22, 2025
6cbd9b8
Change made
MeSophie Jan 22, 2025
6928882
Removing Scalars from non-Scalar Calculations
derekagorhom Jan 22, 2025
f0faebe
Code changes
derekagorhom Jan 22, 2025
63e8222
Change made
MeSophie Jan 22, 2025
6f2ace5
adding check for all NA values
lilyclements Jan 22, 2025
756e2be
Merge pull request #9379 from MeSophie/AddedPackage9373
N-thony Jan 22, 2025
0c0d305
Change made
MeSophie Jan 22, 2025
884a207
Merge pull request #301 from IDEMSInternational/master
MeSophie Jan 22, 2025
5a137b3
Merge pull request #9359 from MeSophie/EnableRViewerGraph9353
N-thony Jan 23, 2025
2eb584e
Merge pull request #9372 from lilyclements/crop_definitions
N-thony Jan 23, 2025
a0ad4d8
Skipping enable disable undo script in the output window
N-thony Jan 23, 2025
5c3c6a8
Merge pull request #9386 from N-thony/minor_bug_output
Patowhiz Jan 23, 2025
4b00a59
Merge pull request #9358 from Fidel365/metadata
N-thony Jan 23, 2025
97b5bdd
Change made
MeSophie Jan 23, 2025
03c462d
Change made
MeSophie Jan 23, 2025
4beffb8
Merge pull request #302 from IDEMSInternational/master
MeSophie Jan 23, 2025
8363c66
Change made
MeSophie Jan 23, 2025
8ecdcfe
Code changes
derekagorhom Jan 23, 2025
830680e
Merge pull request #9282 from N-thony/updating_seletion_condition
Patowhiz Jan 24, 2025
58bd962
Code Changes
derekagorhom Jan 24, 2025
fc3c3f2
Change Made
MeSophie Jan 24, 2025
b8b7978
Merge pull request #314 from IDEMSInternational/master
Vitalis95 Jan 27, 2025
15a8c10
Merge pull request #9382 from derekagorhom/Fixes_Insert_Dialog
N-thony Jan 27, 2025
7346567
Merge pull request #303 from IDEMSInternational/master
MeSophie Jan 27, 2025
d790d3e
changes
Vitalis95 Jan 27, 2025
0956ff5
Some Change Made on The Length Of Season Dialog
MeSophie Jan 28, 2025
92d95ef
changes
Vitalis95 Jan 29, 2025
1745b32
changes
Vitalis95 Jan 29, 2025
80f4e9f
changes
Vitalis95 Jan 30, 2025
dfaa68e
code improvement
N-thony Jan 30, 2025
61c6156
Merge pull request #315 from N-thony/Vitalis95-dlginsert
Vitalis95 Jan 30, 2025
eb6985e
changes
Vitalis95 Jan 31, 2025
472eaad
Merge pull request #9394 from MeSophie/Diff_lengthvariable
N-thony Jan 31, 2025
449db1a
changes to the code
Vitalis95 Jan 31, 2025
dbd6af2
Merge branch 'master' into Startofrain9380
MeSophie Jan 31, 2025
43ad365
Change made
MeSophie Jan 31, 2025
e9687cb
changes
Vitalis95 Jan 31, 2025
9945129
Merge pull request #9387 from MeSophie/Startofrain9380
N-thony Jan 31, 2025
a61c374
Merge pull request #9403 from Vitalis95/dlginsert
N-thony Jan 31, 2025
04a18e2
Merge pull request #9361 from N-thony/trigger_auto_save
Patowhiz Feb 3, 2025
57a2354
Merge pull request #316 from IDEMSInternational/master
Vitalis95 Feb 3, 2025
ada8396
changes
Vitalis95 Feb 4, 2025
7126eea
Merge pull request #9414 from Vitalis95/date
N-thony Feb 4, 2025
5d9b545
Merge pull request #317 from IDEMSInternational/master
Vitalis95 Feb 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/workflows/CreateInstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:

# upload 32 bit installer without R
- name: Upload the 32 bit installer as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand All @@ -113,7 +113,7 @@ jobs:

# Upload 64 bit installer without R
- name: Upload the 64 bit installer as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
shell: cmd

- name: Upload the 64 bit installer with R as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand All @@ -208,7 +208,7 @@ jobs:
shell: cmd

- name: Upload the 32 bit installer with R as an artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
Expand Down
196 changes: 196 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@

name: Create Installers



on:
workflow_dispatch:
inputs:
major_version:
description: 'Major Version'
required: true
minor_version:
description: 'Minor Version'
required: true
revision_no:
description: 'Revision'
required: true
r-version:
description: 'Specify the R version to install'
required: true
default: '4.4.1' # Default version if the user does not specify

jobs:

build:

# running on 2019 so that .NET version 4.5 and lower can be used
runs-on: windows-2019

# set variables
env:
Solution_Name: Instat.sln
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}


# check out r-instat
steps:

- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/[email protected]

# set up and restore NuGet packages
- name: Setup NuGet
uses: NuGet/[email protected]

- name: Restore NuGet
run: nuget restore $env:Solution_Name


# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=Release

# increment build number
- name: Generate build number
uses: einaregilsson/build-number@v3
with:
token: ${{secrets.github_token}}

#update version numbers in assembley
- name: set-version-assemblyinfo
uses: dannevesdantas/[email protected]
with:
# Folder location to search for AssemblyInfo.cs/.vb files
path: instat\My Project\AssemblyInfo.vb
# optional, default is ${{ github.workspace }}
# Version number to set on [AssemblyVersion] and [AssemblyFileVersion] attributes of AssemblyInfo.cs/.vb files
version: "${{ inputs.major_version }}.${{ inputs.minor_version }}.${{ inputs.revision_no }}.${env:BUILD_NUMBER}"

# Create the app package by building and packaging the Windows Application Packaging project
# 64bit
- name: Create the app package 64 bit
run: msbuild $env:Solution_Name /p:Configuration=Release /p:Platform=x64 /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
env:
Appx_Bundle: Always
Appx_Package_Build_Mode: StoreUpload
Configuration: ${{ matrix.configuration }}

# Build 64 bit installer without R
- name: Building the installer 64bit - No R
run: |
"%programfiles(x86)%\Inno Setup 6\iscc.exe" "inno_install_script_64bit.iss"
shell: cmd

# Upload 64 bit installer without R
- name: Upload the 64 bit installer as an artifact
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
name: rinstat64NoR

- name: Remove 64 bit without R installer
run: |
del "Output/*"

# check out R-Instat Data
- name: Checkout Instat Data
uses: actions/checkout@v3
with:
repository: ' IDEMSInternational/R-Instat-Data'
fetch-depth: 0
path: 'InstatData'

# Create directory and copy over InstatData (64bit)
- name: Make Library directory 64 bit
run: |
MKDIR instat\bin\x64\Release\static\Library\

- name: Copy R-Instat Data 64 bit
run: |
ROBOCOPY InstatData\data\ instat\bin\x64\Release\static\Library\ /E
continue-on-error: true

# Install R
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ inputs.r-version }}

- name: Debug paths
run: |
$R_HOME=$(Rscript -e 'cat(R.home())')
echo "R_HOME path: $R_HOME"
echo "Source path: $(pwd)\installer\Rprofile.site"

- name: Update Rprofile.site
run: |
$R_HOME=$(Rscript -e 'cat(R.home())')
ROBOCOPY "${{ github.workspace }}\installer" "$R_HOME\etc" "Rprofile.site" /COPY:DAT
continue-on-error: true

- name: Copy R 64 bit
run: |
$R_HOME=$(Rscript -e 'cat(R.home())')
ROBOCOPY "$R_HOME" "${{ github.workspace }}\instat\bin\x64\Release\static\R" /E
continue-on-error: true

- name: Set R-tools
uses: r-windows/install-rtools@master

# Check if the directory exists
- name: Verify InstallPackages.R directory
run: |
if (Test-Path "D:\a\R-Instat\R-Instat\instat\static\InstatObject\R") {
Write-Host "Directory exists."
} else {
Write-Host "Directory does not exist."
}

# List the contents of the directory to check for the script
- name: List contents of InstatObject\R directory
run: |
Get-ChildItem "D:\a\R-Instat\R-Instat\instat\static\InstatObject\R"

# Check if the directory exists
- name: Verify script directory
run: |
if (Test-Path "D:\a\R-Instat\R-Instat\instat\bin\x64\Release\static\R") {
Write-Host "Directory exists."
} else {
Write-Host "Directory does not exist."
}

# List the contents of the directory to check for the script
- name: List contents of R\bin directory
run: |
Get-ChildItem "D:\a\R-Instat\R-Instat\instat\bin\x64\Release\static"
- name: List contents of R\bin directory
run: |
Get-ChildItem "D:\a\R-Instat\R-Instat\instat\bin\x64\Release\static\R"

- name: Install R packages (64 bit)
run: |
"${{ github.workspace }}\instat\bin\x64\Release\static\R\bin\Rscript.exe" "${{ github.workspace }}\instat\static\InstatObject\R\InstallPackages.R"
shell: cmd

- name: Building the installer 64bit - With R
run: |
"%programfiles(x86)%\Inno Setup 6\iscc.exe" "${{ github.workspace }}\inno_install_script_64bit.iss"
shell: cmd

- name: Upload the 64 bit installer with R as an artifact
uses: actions/upload-artifact@v4
if: ${{ github.event_name != 'pull_request' }}
with:
path: "Output/"
name: rinstat64WithR-innosetup


2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ R-Instat is free, menu driven statistics software powered by R. It is designed t

## Download

The latest release is available from http://r-instat.org/Download.html where you will also find installation instructions and a getting started guide. R-Instat is currently a Windows only software. All prerequisites, including the R packages needed, are included in the installation file.
The latest release is available from https://r-instat.org/ where you will also find installation instructions and a getting started guide. R-Instat is currently a Windows only software. All prerequisites, including the R packages needed, are included in the installation file.

## Background

Expand Down
4 changes: 2 additions & 2 deletions inno_install_script_64bit.iss
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppVersion= {#GetStringFileInfo("instat\bin\x64\Release\instat.exe", "FileVersion")}
AppId={{5455FC1A-85BE-4679-B600-8A1A4FC3CDD9-{#SetupSetting("AppVersion")}}
AppName=R-Instat
AppVerName ={code:GetShortAppVersion|{#SetupSetting("AppVersion")}}
AppName=R-Instat {#SetupSetting("AppVersion")}
AppVerName =R-Instat {#SetupSetting("AppVersion")}

AppPublisher=African Maths Initiative
AppPublisherURL=http://r-instat.org/
Expand Down
25 changes: 25 additions & 0 deletions installer/Rprofile.site
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Things you might want to change

# options(papersize="a4")
# options(editor="notepad")
# options(pager="internal")

# set the default help type
# options(help_type="text")
options(help_type="html")

# set a site library
# .Library.site <- file.path(chartr("\\", "/", R.home()), "site-library")

# Only use internal library
if (length(.libPaths()) == 2) .libPaths(.libPaths()[2])

# set a CRAN mirror
# local({r <- getOption("repos")
# r["CRAN"] <- "http://my.local.cran"
# options(repos=r)})

# Give a fortune cookie, but only to interactive sessions
# (This would need the fortunes package to be installed.)
# if (interactive())
# fortunes::fortune()
Loading
Loading