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

setup script creates the whole projectdirectory again inside of the project #67

Open
konstantinengelmayer opened this issue Jun 7, 2024 · 1 comment

Comments

@konstantinengelmayer
Copy link

I created a new default link2GI project with RStudio. It created this structure.
| testingProject.Rproj
|
+---data
| +---clean
| +---results
| +---run
| ---source
+---docs
| ---figures
+---src
| | main-control.R
| | post-processing.R
| | pre-processing.R
| | processing.R
| |
| +---configs
| | config-master.yml
| | post-processing.yml
| | pre-processing.yml
| | processing.yml
| | README.md
| |
| ---functions
| 000_setup.R

Looks good so far! But now...
After running the setup script it added the whole directory again inside my project:
| testingProject.Rproj
|
+---data
| +---clean
| +---results
| +---run
| ---source
+---docs
| ---figures
+---src
| | main-control.R
| | post-processing.R
| | pre-processing.R
| | processing.R
| |
| +---configs
| | config-master.yml
| | post-processing.yml
| | pre-processing.yml
| | processing.yml
| | README.md
| |
| ---functions
| 000_setup.R
+---testingProject
| +---data
| | +---clean
| | +---results
| | +---run
| | ---source
| +---docs
| | ---figures
| +---src
| | +---configs
| | ---functions
| ---tmp
| ---tmp
---tmp
---tmp
Also the dir vairables refers to the wrong and newly created directory.

@gisma
Copy link
Member

gisma commented Jun 9, 2024

Thanks for reporting. I am not quite able to reproduce this behaviour. Did you use the GUI or the CLI? What exact call did you use? Thanks for providing!

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