Package: jaysire 0.1.0

jaysire: Build jsPsych Experiments in R

The jaysire package allows the user to build browser based behavioral experiments within R by providing an interface to the jsPsych javascript library.

Authors:Danielle Navarro

jaysire_0.1.0.tar.gz
jaysire_0.1.0.zip(r-4.5)jaysire_0.1.0.zip(r-4.4)jaysire_0.1.0.zip(r-4.3)
jaysire_0.1.0.tgz(r-4.4-any)jaysire_0.1.0.tgz(r-4.3-any)
jaysire_0.1.0.tar.gz(r-4.5-noble)jaysire_0.1.0.tar.gz(r-4.4-noble)
jaysire_0.1.0.tgz(r-4.4-emscripten)jaysire_0.1.0.tgz(r-4.3-emscripten)
jaysire.pdf |jaysire.html
jaysire/json (API)

# Install 'jaysire' in R:
install.packages('jaysire', repos = c('https://djnavarro.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/djnavarro/jaysire/issues

On CRAN:

4.26 score 45 stars 27 scripts 53 exports 42 dependencies

Last updated 4 years agofrom:fd76ccbce4. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-winNOTEOct 25 2024
R-4.5-linuxNOTEOct 25 2024
R-4.4-winNOTEOct 25 2024
R-4.4-macNOTEOct 25 2024
R-4.3-winNOTEOct 25 2024
R-4.3-macNOTEOct 25 2024

Exports:%>%build_experimentbuild_resourcesbuild_timelinedisplay_ifdisplay_whiledownload_googleclouddownload_webserverfn_data_conditionfn_samplefullscreeninsert_javascriptinsert_propertyinsert_resourceinsert_variablekeycodepavloviaquestion_likertquestion_multiquestion_textrespond_any_keyrespond_no_keyrun_googlecloudrun_locallyrun_webserversave_googlecloudsave_locallysave_webserverset_parametersset_variablestemporary_foldertrial_animationtrial_audio_button_responsetrial_audio_keyboard_responsetrial_audio_slider_responsetrial_categorize_animationtrial_categorize_htmltrial_categorize_imagetrial_generictrial_html_button_responsetrial_html_keyboard_responsetrial_html_slider_responsetrial_image_button_responsetrial_image_keyboard_responsetrial_image_slider_responsetrial_instructionstrial_survey_likerttrial_survey_multi_choicetrial_survey_multi_selecttrial_survey_texttrial_video_button_responsetrial_video_keyboard_responsetrial_video_slider_response

Dependencies:bitbit64clicliprcpp11crayoncurlellipsisfansifastmapglueherehmshttpuvjsonlitelaterlifecyclemagrittrmimepillarpkgconfigplumberprettyunitsprogresspromisespurrrR6Rcppreadrrlangrprojrootsodiumstringiswaggertibbletidyselecttzdbutf8vctrsvroomwebutilswithr

Readme and manuals

Help Manual

Help pageTopics
Build the experiment filesbuild_experiment
Build the resource file specification from a directory pathbuild_resources
Build a timeline from trialsbuild_timeline
Modify a timeline to execute if a condition is metdisplay_if
Modify a timeline to execute within a loopdisplay_while
Download data from a jspsych experiment deployed on google clouddownload_googlecloud
Download data from a jspsych experiment deployed on a webserverdownload_webserver
Return a javascript function that checks a data valuefn_data_condition
Return a javascript function that samples from an arrayfn_sample
Toggle fullscreen mode in the browserfullscreen
Insert input as raw javascriptinsert_javascript
Insert a property to the jsPsych data storeinsert_property
Insert input as path to a resource fileinsert_resource
Insert reference to a timeline variableinsert_variable
Javascript key codeskeycode
Communication with pavlovia.orgpavlovia
Create a Likert questionquestion_likert
Create a multiple choice/select questionquestion_multi
Create a free text response questionquestion_text
Response is accepted with any key pressrespond_any_key
Response is not accepted for any key pressrespond_no_key
Deploy a jspsych experiment on google app enginerun_googlecloud
Deploy a jspsych experiment locallyrun_locally
Deploy a jspsych experiment to a webserverrun_webserver
Return a javascript function to save data to Google datastoresave_googlecloud
Return a javascript function to save data locallysave_locally
Return a javascript function to save data via a script on the webserversave_webserver
Modify a timeline to set parameter valuesset_parameters
Modify a timeline to set possible values for variablesset_variables
Creates a temporary foldertemporary_folder
Specify an animation trialtrial_animation
Specify an audio trial with button responsetrial_audio_button_response
Specify an audio trial with keyboard responsetrial_audio_keyboard_response
Specify an audio trial with slider bar responsetrial_audio_slider_response
Specify a categorization trial with an animated stimulustrial_categorize_animation
Specify a categorization trial with an HTML stimulustrial_categorize_html
Specify a categorization trial with an image stimulustrial_categorize_image
Specify a trial using any plugintrial_generic
Specify an HTML trial with button responsetrial_html_button_response
Specify an HTML trial with keyboard responsetrial_html_keyboard_response
Specify an HTML trial with slider bar responsetrial_html_slider_response
Specify an image trial with button responsetrial_image_button_response
Specify an image trial with keyboard responsetrial_image_keyboard_response
Specify an image trial with slider bar responsetrial_image_slider_response
Specify pages of instructions to displaytrial_instructions
Specify a survey page with Likert scale itemstrial_survey_likert
Specify a survey page with multiple choice itemstrial_survey_multi_choice
Specify a survey page with multiple selection itemstrial_survey_multi_select
Specify a survey page with free text respondingtrial_survey_text
Specify a video trial with button responsetrial_video_button_response
Specify a video trial with keyboard responsetrial_video_keyboard_response
Specify a video trial with slider bar responsetrial_video_slider_response