Claudia doesn't find this a good solution: we need to enable the user to import their data.
Claudia thinks a shiny app would be better
learnr: turns any R Markdown document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Tutorials can include any or all of the following:
Narrative, figures, illustrations, and equations.
Code exercises (R code chunks that users can edit and execute directly).
Quiz questions.
Videos (supported services include YouTube and Vimeo).
Interactive Shiny components.
Tutorials automatically preserve work done within them, so if a user works on a few exercises or questions and returns to the tutorial later they can pick up right where they left off.
create a package based on another existing package
understand the functionality and structure of the existing package you want to base yours on; get familiarised with the package's functions, documentation, and source code.
determine what additional functionalities you want to add/how you want to extend its capabilities; identify any modifications or customizations you need to make to meet your requirements.
Use devtools or usethis package to create a new R package.
Set-up: organize your package directory structure according to R package conventions:
create folders like R/ for R code, man/ for documentation files, tests/ for test files, etc.
modify the DESCRIPTION file to include information about your package (name, version, dependencies, and description)
Incorporate existing package: copy the necessary functions or code snippets directly into your package
Extend:
modify or add new functions to extend the functionality of the existing package according to your requirements.
ensure that your functions are well-documented using roxygen2 syntax or Rd files.
basis for SNA4tutti -> learnr
learnr: turns any R Markdown document into an interactive tutorial. Tutorials consist of content along with interactive components for checking and reinforcing understanding. Tutorials can include any or all of the following:
create a package based on another existing package
sources
videos