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 practical for 2023-06 #2

Open
vildead opened this issue May 25, 2023 · 5 comments
Open

Update practical for 2023-06 #2

vildead opened this issue May 25, 2023 · 5 comments

Comments

@vildead
Copy link
Member

vildead commented May 25, 2023

targeted learning outcomes:

  • code needs to be managed
  • git is the tool you need
  • new research project -> new git repository (project consist of the code and data)
  • packages you dont want to version by yourself

lets start with

  • blank repo
  • let users to create folder structure
  • link to data
  • ignore file,
  • renv::activate()
  • renv::hydrate()
  • ggplot2 (do some magic)
  • Knit
  • renv::snapshot()

git commit for each step

@mickypz
Copy link
Collaborator

mickypz commented Jun 14, 2023

rent::snapshot() to be revised and checked

@mickypz
Copy link
Collaborator

mickypz commented Jun 16, 2023

  • git - installation and configuration to be added as steps

  • if done locally with copying-pasting the data, think about the name of the data to match the scripts with how they save the data file

  • in case that practical should be used after each corresponding part of the lecture to keep it interactive - adapt order of steps to the lecture

@mickypz
Copy link
Collaborator

mickypz commented Jun 20, 2023

rent::snapshot() to be revised and checked

It requires at least one R scripts / Rmd / qmd with library calls or namespace prefix in order to work.

@vildead
Copy link
Member Author

vildead commented Jun 20, 2023

rent::snapshot() to be revised and checked

It requires at least one R scripts / Rmd / qmd with library calls or namespace prefix in order to work.

So we swap the step 3 with step 2? Or just let them snapshot again once the analyses script is in the directory?

@mickypz
Copy link
Collaborator

mickypz commented Jun 14, 2024

Step 2 and 3 updated to make renv::snapshot() work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants