The problem
1. Make an empty R project, e.g. test-flandersqmd.Rproj.
2. Run create_report() in the console:
flandersqmd::create_report(".", "test_report")
3. Follow minimal steps to create the report.
This creates a strange subfolder structure test-flandersqmd/test_report/test_report/test_report.Rproj.
The quarto book documents (including an test_report.Rproj) are placed in the first test_report folder, but it also contains a subfolder test_report which contains only an extra test_report.Rproj.
The solution
Somehow, copying a checklist.yml file into test-flandersqmd folder of the R project works.
1. Create this checklist.yml file into test-flandersqmd folder of the main R project
description: Configuration file for checklist::check_pkg()
package: no
allowed:
warnings: []
notes: []
required:
- checklist
- filename conventions
- folder conventions
- lintr
- spelling
spelling:
default: nl-BE
ignore:
- .github
- LICENSE.md
2. Redo the steps of the problem to create the report
Now, a source folder is create in test-flandersqmd where the report project with correct subfolder structure is created.
The problem
1. Make an empty R project, e.g.
test-flandersqmd.Rproj.2. Run
create_report()in the console:3. Follow minimal steps to create the report.
This creates a strange subfolder structure
test-flandersqmd/test_report/test_report/test_report.Rproj.The quarto book documents (including an
test_report.Rproj) are placed in the first test_report folder, but it also contains a subfolder test_report which contains only an extratest_report.Rproj.The solution
Somehow, copying a
checklist.ymlfile into test-flandersqmd folder of the R project works.1. Create this
checklist.ymlfile into test-flandersqmd folder of the main R project2. Redo the steps of the problem to create the report
Now, a source folder is create in test-flandersqmd where the report project with correct subfolder structure is created.