summerschool_simtech_2023/material/1_mon/envs/tasks.qmd

25 lines
698 B
Plaintext
Raw Normal View History

2023-09-28 16:09:08 +02:00
# Task
1. Create a new package `MyStatsPackage` using `generate`
2. Add your `statistic_functions.jl` & "include" it.
2023-09-28 16:09:08 +02:00
3. Export all functions
4. Create a new environment in a separate folder and add the package.
2023-10-08 20:33:30 +02:00
5. Does `using MyStatsPackage` work now?
:::{.callout collapse=true}
## Yes!
:tada: congratulations!
:::
:::{.callout collapse=true}
## No!
Oh no, better check you activated the right environment - ask for help!
:::
6. Go back to your package environment. Now add a dependency (e.g. ProgressMeter.jl) and a `compat`-entry
2023-10-08 20:39:03 +02:00
7. Go back to your project environment, has the
dependency been updated?
2023-10-08 20:33:30 +02:00
2023-10-08 20:39:03 +02:00
:::{.callout collapse=true}
## Hint?
2023-10-08 20:33:30 +02:00
Should you use `resolve` or `instantiate`?
:::