Skip to content

Merge eScience Center and JASP versions #12

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

Merged
merged 203 commits into from
Apr 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
203 commits
Select commit Hold shift + click to select a range
3331824
Add minimal example
PabRod Sep 18, 2024
edcedeb
Use examples instead of dummyanalysis
PabRod Sep 25, 2024
80879bd
Add renv.lock to repo
PabRod Sep 25, 2024
a7f7e9e
More dummy functionality
PabRod Nov 26, 2024
a7b2a1b
Create manual input
PabRod Nov 26, 2024
4b5f914
Finally some interactivity
PabRod Nov 26, 2024
baa2a87
Update lock file
PabRod Dec 2, 2024
b307421
Improve AddOne example
PabRod Dec 9, 2024
d6345c8
Remove text examples
PabRod Dec 9, 2024
28a8666
Problematic snippet regarding plots
PabRod Dec 9, 2024
ddbbc47
Firt example with data
PabRod Dec 11, 2024
af71572
adding github workflow for merging jaspModules
recap Jan 28, 2025
aa2f5a2
adding github workflow for merging jaspModules
recap Jan 28, 2025
da07f45
new jaspmodule
recap Jan 28, 2025
420c7c5
Merge pull request #1 from recap/dev/template
recap Jan 28, 2025
c04d62d
Revert "Merge pull request #1 from recap/dev/template"
actions-user Jan 28, 2025
d50ce94
update workflow
recap Jan 28, 2025
b51cf34
Merge branch 'dev/template' of github.com:jasp-escience/jaspModuleTem…
recap Jan 28, 2025
ff4f626
new myJaspModule module
recap Jan 28, 2025
e5495e0
Merge pull request #2 from recap/dev/template
recap Jan 28, 2025
d080e94
Revert "Merge pull request #2 from recap/dev/template"
actions-user Jan 28, 2025
a066647
update README
recap Jan 28, 2025
9c186f6
adding PR open check for DESCRIPTION file
recap Jan 28, 2025
9e7e122
creating faulty module
recap Jan 28, 2025
6b87ebf
adding myAwsomeModule
recap Jan 28, 2025
e213321
Merge pull request #3 from recap/dev/template
recap Jan 28, 2025
f9b48f9
Revert "Merge pull request #3 from recap/dev/template"
actions-user Jan 28, 2025
9ed2ee9
Update DESCRIPTION
PabRod Jan 29, 2025
7deb734
Merge pull request #4 from PabRod/dev/template
PabRod Jan 29, 2025
074c758
Revert "Merge pull request #4 from PabRod/dev/template"
actions-user Jan 29, 2025
01f9e5c
new workflow to create repo
recap Jan 30, 2025
74be81d
new workflow to create repo
recap Jan 30, 2025
189976c
new workflow to create repo
recap Jan 30, 2025
e2fb568
new workflow to create repo
recap Jan 30, 2025
6188789
new module myJaspModule
recap Jan 30, 2025
cfbef07
Merge pull request #5 from recap/dev/template
recap Jan 30, 2025
650b026
Revert "Merge pull request #5 from recap/dev/template"
actions-user Jan 30, 2025
c1360ca
new workflow to create repo
recap Jan 30, 2025
cbb676d
Merge branch 'dev/template' of github.com:jasp-escience/jaspModuleTem…
recap Jan 30, 2025
dd1c80d
new module myJaspModule
recap Jan 30, 2025
7d7f8be
Merge pull request #6 from recap/dev/template
recap Jan 30, 2025
a62789d
Revert "Merge pull request #6 from recap/dev/template"
actions-user Jan 30, 2025
826e654
update workflow using PAT
recap Jan 30, 2025
197c997
new module myJaspModule
recap Jan 30, 2025
62c20d5
Merge pull request #7 from recap/dev/template
recap Jan 30, 2025
64adfcd
Revert "Merge pull request #7 from recap/dev/template"
actions-user Jan 30, 2025
d9c7836
update workflow using PAT
recap Jan 30, 2025
d554001
update workflow using PAT
recap Jan 30, 2025
0047caa
new module myJaspModule
recap Jan 30, 2025
7f315d7
Merge pull request #8 from recap/dev/template
recap Jan 30, 2025
6ce0cc7
Revert "Merge pull request #8 from recap/dev/template"
actions-user Jan 30, 2025
3ccf01e
new workflow to create repo
recap Jan 30, 2025
5de46d9
update README
recap Jan 30, 2025
e847d4f
Merge pull request #9 from jasp-escience/dev/template
recap Jan 30, 2025
2761849
Revert "Merge pull request #9 from jasp-escience/dev/template"
actions-user Jan 30, 2025
a3ea110
adding workflows to main branch
recap Jan 30, 2025
5ace604
new module myJaspModule
recap Jan 30, 2025
622abb0
Merge pull request #10 from recap/main
recap Jan 30, 2025
96b2071
Revert "Merge pull request #10 from recap/main"
actions-user Jan 30, 2025
3c298bd
only run template workflows when PR is from forked repos
recap Jan 30, 2025
1ec524b
updating workflow to add submodule to modules repo
recap Jan 31, 2025
6c75bbe
new module
recap Jan 31, 2025
dd35463
Merge pull request #11 from recap/main
recap Jan 31, 2025
56db853
Revert "Merge pull request #11 from recap/main"
actions-user Jan 31, 2025
7e6250a
updating workflow to add submodule to modules repo
recap Jan 31, 2025
e46323f
new module
recap Jan 31, 2025
82d384d
Merge pull request #12 from recap/main
recap Jan 31, 2025
b33049a
Revert "Merge pull request #12 from recap/main"
actions-user Jan 31, 2025
8f43d82
updating workflow to add submodule to modules repo
recap Jan 31, 2025
c5d1622
new module
recap Jan 31, 2025
8eecab0
Merge pull request #13 from recap/main
recap Jan 31, 2025
0f0c843
updating workflow to add submodule to modules repo
recap Jan 31, 2025
9fbf312
new module
recap Jan 31, 2025
9ae5dfd
Merge pull request #14 from recap/main
recap Jan 31, 2025
0122506
updating workflow to add submodule to modules repo
recap Jan 31, 2025
8e10709
updating workflow to add submodule to modules repo
recap Jan 31, 2025
855672a
new module
recap Jan 31, 2025
29ae05b
Merge pull request #15 from recap/main
recap Jan 31, 2025
d4e65ac
Revert "Merge pull request #15 from recap/main"
actions-user Jan 31, 2025
e3c182f
updating workflow to add submodule to modules repo
recap Jan 31, 2025
bf5fea1
new module
recap Jan 31, 2025
4ece16a
Merge pull request #16 from recap/main
recap Jan 31, 2025
a7a5db5
Revert "Merge pull request #16 from recap/main"
actions-user Jan 31, 2025
6d9d5a9
updating workflow to add submodule to modules repo
recap Jan 31, 2025
3effe54
new module
recap Jan 31, 2025
163a8c0
Merge pull request #17 from recap/main
recap Jan 31, 2025
ee763cc
Revert "Merge pull request #17 from recap/main"
actions-user Jan 31, 2025
b35c584
updating workflow to add submodule to modules repo
recap Jan 31, 2025
7c3760e
new module
recap Jan 31, 2025
159c9ef
Merge pull request #18 from recap/main
recap Jan 31, 2025
1ff369f
updating workflow to add submodule to modules repo
recap Jan 31, 2025
99ee5ce
new module
recap Jan 31, 2025
9d48366
Merge pull request #19 from recap/main
recap Jan 31, 2025
939dbda
Revert "Merge pull request #19 from recap/main"
actions-user Jan 31, 2025
4ea3f70
updating workflow to add submodule to modules repo
recap Jan 31, 2025
84f7954
Merge branch 'main' of github.com:jasp-escience/jaspModuleTemplate
recap Feb 3, 2025
a956bf0
increase security in PR workflow.
recap Feb 3, 2025
3732b91
new module
recap Feb 3, 2025
9185655
increase security in PR workflow.
recap Feb 3, 2025
dcd8261
Merge branch 'jasp-escience:main' into main
recap Feb 3, 2025
a4fd350
increase security in PR workflow.
recap Feb 3, 2025
cb754d2
increase security in PR workflow.
recap Feb 3, 2025
6aceba9
Merge branch 'jasp-escience:main' into main
recap Feb 3, 2025
bfd3ec0
Merge pull request #22 from recap/main
recap Feb 3, 2025
5d00a29
Revert "Merge pull request #22 from recap/main"
actions-user Feb 3, 2025
f00d0c1
increase security in PR workflow.
recap Feb 3, 2025
4f75bf0
new module
recap Feb 3, 2025
da3bdfc
Merge pull request #23 from recap/main
recap Feb 3, 2025
6e62b6c
Revert "Merge pull request #23 from recap/main"
actions-user Feb 3, 2025
b5998f3
increase security in PR workflow.
recap Feb 3, 2025
9e2ec40
increase security in PR workflow.
recap Feb 3, 2025
de32330
new module
recap Feb 3, 2025
f0d772d
Merge pull request #24 from recap/main
recap Feb 3, 2025
81fee16
increase security in PR workflow.
recap Feb 3, 2025
10d67e3
increase security in PR workflow.
recap Feb 3, 2025
d6037fd
new module
recap Feb 3, 2025
8742464
test modify workflow
recap Feb 3, 2025
e4d8b3c
Merge pull request #25 from recap/main
recap Feb 3, 2025
7aa11e7
Revert "Merge pull request #25 from recap/main"
actions-user Feb 3, 2025
38d30e3
increase security in PR workflow.
recap Feb 3, 2025
3178f2a
increase security in PR workflow.
recap Feb 3, 2025
3776744
adding check for changes in .github/workflows
recap Feb 3, 2025
268eb09
adding check for changes in .github/workflows
recap Feb 3, 2025
5d9bb95
adding check for changes in .github/workflows
recap Feb 3, 2025
25e1dc8
new module
recap Feb 3, 2025
8bbe1a1
new module
recap Feb 3, 2025
7b667e6
Merge pull request #27 from recap/main
recap Feb 3, 2025
a9f88a7
manual revert
recap Feb 3, 2025
dfad630
break if revert fails
recap Feb 3, 2025
980f7a2
new module
recap Feb 3, 2025
7a5e4d8
Merge pull request #28 from recap/main
recap Feb 3, 2025
fcea838
Revert "Merge pull request #28 from recap/main"
actions-user Feb 3, 2025
7a0e405
add new steps to check if module exists on PR creation
recap Feb 4, 2025
bc4c3b2
new module
recap Feb 4, 2025
2b17640
add new steps to check if module exists on PR creation
recap Feb 4, 2025
6928dc8
add new steps to check if module exists on PR creation
recap Feb 4, 2025
d9a2b06
Update ProcessData
PabRod Feb 6, 2025
a3e9c29
Add plotting example
PabRod Feb 6, 2025
5bb176d
Merge pull request #30 from jasp-escience/dummy
PabRod Feb 11, 2025
e2e5e55
Revert "Merge pull request #30 from jasp-escience/dummy"
actions-user Feb 11, 2025
ba1621d
updating workflow
recap Feb 11, 2025
8497c0f
test branch
recap Feb 11, 2025
141677b
update workflow
recap Feb 11, 2025
da54bb2
update workflow
recap Feb 11, 2025
40909a7
update workflow
recap Feb 11, 2025
c2dc6a6
update workflow
recap Feb 11, 2025
29ea191
Merge branch 'main' of github.com:jasp-escience/jaspModuleTemplate in…
recap Feb 11, 2025
b9aee74
Merge pull request #32 from jasp-escience/test/test_branch
recap Feb 11, 2025
560f4cc
Add example icon
PabRod Feb 11, 2025
45707b5
update workflow to not trigger when org is jasp-escience
recap Feb 11, 2025
7ba187c
test file
recap Feb 11, 2025
071130f
Merge pull request #33 from jasp-escience/test/test_branch
recap Feb 11, 2025
0cd68df
remove file
recap Feb 11, 2025
3f2e635
Revert "Revert "Merge pull request #30 from jasp-escience/dummy""
PabRod Feb 11, 2025
8f573fe
Merge remote-tracking branch 'origin/main' into dummy
PabRod Feb 11, 2025
0c583bb
Merge pull request #34 from jasp-escience/dummy
PabRod Feb 11, 2025
6979f78
Merge branch 'main' of github.com:recap/jaspModuleTemplate
recap Feb 11, 2025
1fb37e0
Merge pull request #35 from recap/main
recap Feb 11, 2025
edf55c0
Revert "Merge pull request #35 from recap/main"
actions-user Feb 11, 2025
51e70d2
new module
recap Feb 12, 2025
4cbe29f
update workflow to delte workflows when creating new repo
recap Feb 12, 2025
ea9c249
Merge branch 'jasp-escience:main' into main
recap Feb 12, 2025
7e679b7
Merge pull request #36 from recap/main
recap Feb 12, 2025
966f2a9
Revert "Merge pull request #36 from recap/main"
actions-user Feb 12, 2025
1164e5a
update workflow to delte workflows when creating new repo
recap Feb 12, 2025
51d3ffd
Merge branch 'main' of github.com:jasp-escience/jaspModuleTemplate
recap Feb 12, 2025
0547c18
new module (#37)
recap Feb 12, 2025
c941340
Revert "new module (#37)"
actions-user Feb 12, 2025
aa2ddf7
update workflow to delte workflows when creating new repo
recap Feb 12, 2025
9f7e6f4
Merge branch 'main' of github.com:jasp-escience/jaspModuleTemplate
recap Feb 12, 2025
da261a3
new module (#38)
recap Feb 12, 2025
2f39c5b
Revert "new module (#38)"
actions-user Feb 12, 2025
eed5432
Remove line invoking Travis
PabRod Feb 12, 2025
54e11dd
Edit DESCRIPTION and update dependencies
PabRod Feb 12, 2025
cf6a10f
Fix wrong package name
PabRod Feb 12, 2025
a5efade
Add tables example
PabRod Feb 12, 2025
3982045
Merge remote-tracking branch 'origin/develop'
PabRod Feb 12, 2025
751b317
Add renv initializer
PabRod Feb 12, 2025
8a84bf1
disable workflows on pull_request
recap Feb 14, 2025
874e01a
Temporarily remove actions
PabRod Mar 19, 2025
e7b1adf
Revert "Temporarily remove actions"
PabRod Mar 19, 2025
edb2c32
Update R/examples.R
PabRod Mar 20, 2025
c90875e
Update R/examples.R
PabRod Mar 20, 2025
5d8dbec
Update inst/Description.qml
PabRod Mar 20, 2025
97d3834
Revert "Remove line invoking Travis"
PabRod Mar 20, 2025
08ee90f
revert workflows
recap Mar 26, 2025
b8e1aac
Merge branch 'actions'
PabRod Mar 26, 2025
a4603c8
Apply proper dataset subsetting
PabRod Mar 26, 2025
2d9b56e
Apply suggestions to parabolaPlot
PabRod Mar 26, 2025
78eb154
Use camelCase for functions
PabRod Mar 26, 2025
3bb5b76
Add qsTr wrapper to all text, title and menu fields in the qml files
PabRod Mar 26, 2025
33bea85
Add documentation to inputs, and improve readability
PabRod Mar 26, 2025
1837b43
Capitalize first letter of all qml files
PabRod Mar 26, 2025
bfb36a0
Remove (temporarily) translations.yml
PabRod Mar 27, 2025
55d3151
Revert "Remove (temporarily) translations.yml"
PabRod Apr 2, 2025
9e771f6
Recover and deactivate translations.yml
PabRod Apr 2, 2025
b84a2ab
Add info fields to all forms
PabRod Apr 2, 2025
07fb95c
Properly deactivate translation GitHub action
PabRod Apr 2, 2025
3e95e55
Properly deactivate translations GitHub action
PabRod Apr 2, 2025
82feb35
Remove (temporarily) translations.yml
PabRod Apr 2, 2025
6fb74b9
Be explicit about requiresData
PabRod Apr 2, 2025
76f749b
Simplify Data.qml
PabRod Apr 2, 2025
721c6fd
Edit README
PabRod Apr 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
^renv$
^renv\.lock$
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
1 change: 1 addition & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source("renv/activate.R")
10 changes: 5 additions & 5 deletions .github/workflows/i18nCheck.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
on:
on:
push:
paths: ['**.R', '**.qml', '**.po', '**.yml']
paths: ["**.R", "**.qml", "**.po", "**.yml"]

pull_request:
paths: ['**.R', '**.qml', '**.po', '**.yml']
paths: ["**.R", "**.qml", "**.po", "**.yml"]

workflow_dispatch:

name: i18n-check
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/translations.yml

This file was deleted.

19 changes: 10 additions & 9 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
on:
push:
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']
pull_request:
paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win']
schedule:
- cron: '13 12 * * 1-5'
workflow_dispatch:

# on:
# push:
# paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win', '**.yml']
# pull_request:
# paths: ['**.R', 'tests/**', '**.Rd', '**.c', '**.cpp', '**.h', '**.hpp', 'DESCRIPTION', 'NAMESPACE', 'MAKEVARS', 'MAKEVARS.win']
# schedule:
# - cron: '13 12 * * 1-5'

name: unit-tests

jobs:

unit-tests:

uses: jasp-stats/jasp-actions/.github/workflows/unittests.yml@master
with:
needs_JAGS: false
needs_JAGS: false
needs_igraph: false
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Date: 2020-10-15
Author: JASP Team
Website: jasp-stats.org
Maintainer: JASP Team <info@jasp-stats.org>
Description: This module offers analyses.
Description: Example module showing basic functionality. Use it for inspiration when creating your own module.
License: GPL (>= 2)
Encoding: UTF-8
Imports:
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
import(jaspBase)
export(addOne)
export(processData)
export(processTable)
export(parabola)
56 changes: 56 additions & 0 deletions R/examples.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
addOne <- function(jaspResults, dataset, options) {
result <- as.character(options$my_number + 1) # options$my_number comes from the menu created by inst/qml/integer.qml

jaspResults[["result"]] <- createJaspHtml(text = result,
title = "This is your result:")

return()
}

processData <- function(jaspResults, dataset, options) {
# Dataset access
# options$ts --maps to--> 't'
# dataset[[options$ts]] --maps to--> dataset$t
result <- paste(dataset[[options$ts]], collapse = "")
jaspResults[["result"]] <- createJaspHtml(text = result,
title = "This is your result:")

return()
}

processTable <- function(jaspResults, dataset, options) {
# Prints the inputs as a table
stats <- createJaspTable(gettext("Some descriptives"))

stats$addColumnInfo(name = gettext("times"))
stats$addColumnInfo(name = gettext("xs"))

stats[["times"]] <- dataset[[options$ts]]
stats[["xs"]] <- dataset[[options$xs]]

jaspResults[["stats"]] <- stats

return()
}

parabola <- function(jaspResults, dataset, options) {
# Analysis
f <- function(x) { options$a * x^2 } # Function to be plotted
p <- ggplot2::ggplot() + # Plotting command
ggplot2::xlim(-3, 3) +
ggplot2::ylim(0, 10) +
ggplot2::geom_function(fun = f)
# add jasp theme
p <- jaspGraphs::geom_rangeframe() +
jaspGraphs::themeJaspRaw()
# Aesthetics
parabolaPlot <- createJaspPlot(title = gettext("Parabola"),
width = 160,
height = 320)
parabolaPlot$dependOn(c("a")) # Refresh view whenever a changes
parabolaPlot$info <- gettext("This figure displays a parabola specified via the `a` option.")
jaspResults[["parabolaPlot"]] <- parabolaPlot
parabolaPlot$plotObject <- p

return()
}
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
# jaspModuleTemplate
# jaspModuleTemplate

This template repository is a starting point for developing a new module for JASP.
It contains the necessary files and structure, plus a numbers of examples to get started.

## How to use this repository

Fork this template repository to your own GitHub account to start developing your module.
You can then clone the repository to your local machine and start developing your module.

The repository contains example functionality.
Feel free to reuse and adapt the examples to your needs.
Feel also free to remove the ones you don't need.

## Contributing back new module to JASP

Once you have developed your module, you can contribute it back to JASP by creating a pull request.
The JASP team will review your module and provide feedback.
Once your module is accepted, a new repo is created in the JASP organization and your module is added to the JASP module repository.

## Reference
[Adding your own modules to JASP](https://github.com/jasp-stats/jasp-desktop/blob/development/Docs/development/jasp-adding-module.md)
49 changes: 48 additions & 1 deletion inst/Description.qml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,57 @@ Description
{
name : "jaspModule"
title : qsTr("Jasp Module")
description : qsTr("This module offers analyses.")
description : qsTr("Examples for module builders")
version : "0.1"
author : "JASP Team"
maintainer : "JASP Team <info@jasp-stats.org>"
website : "https://jasp-stats.org"
license : "GPL (>= 2)"
icon : "exampleIcon.png" // Located in /inst/icons/
preloadData: true
requiresData: true


GroupTitle
{
title: qsTr("Basic functions")
}

Analysis
{
title: qsTr("Add one") // Title for window
menu: qsTr("Add one") // Title for ribbon
func: "addOne" // Function to be called
qml: "Integer.qml" // Design input window
requiresData: false // Allow to run even without data
}

Analysis
{
title: qsTr("Load data")
menu: qsTr("Load data")
func: "processData"
qml: "Data.qml"
}

Analysis
{
title: qsTr("Tabular results")
menu: qsTr("Tabular results")
func: "processTable"
qml: "Table.qml"
}

GroupTitle
{
title: qsTr("Plotting")
}

Analysis
{
title: qsTr("Plot a parabola")
func: "parabola"
qml: "Parabola.qml"
requiresData: false
}
}
Binary file added inst/icons/exampleIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
83 changes: 83 additions & 0 deletions inst/icons/exampleIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions inst/qml/Data.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
//
// Copyright (C) 2013-2018 University of Amsterdam
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public
// License along with this program. If not, see
// <http://www.gnu.org/licenses/>.
//
import QtQuick 2.8
import QtQuick.Layouts 1.3
import JASP.Controls 1.0
import JASP.Widgets 1.0
import JASP 1.0

Form
{

info: qsTr("This example shows how to load a dataset and perform a simple operation on it. \
Specifically, it concatenates the values of a column. \n
e.g.: [1, 2, 3] -> '123'") // Used for populating the info tab

Text
{
text: qsTr("This example shows how to load a dataset and perform a simple operation on it.")
}

VariablesForm
{
AvailableVariablesList { name: "allVariables" }

AssignedVariablesList {
name: "ts"
label: qsTr("Times (t)")
info: qsTr("Vector representing times")
singleVariable: true
allowedColumns: ["scale"]
}
}

}
Loading