We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8d1b3e commit c507155Copy full SHA for c507155
Justfile
@@ -23,7 +23,7 @@ check-pacakge:
23
devtools::check()
24
25
# Deploy to CRAN
26
-cran-release: build docs manual check-pacakge
+cran-release: build docs manual _check-for-docs check-pacakge
27
#!/usr/bin/env -S Rscript --no-save --no-restore
28
devtools::release()
29
@@ -32,6 +32,13 @@ docs:
32
33
devtools::document()
34
35
+_check-for-docs:
36
+ #!/bin/bash
37
+ if [ -z "$(ls -A ./man)" ]; then
38
+ echo "./man directory is empty"
39
+ exit 30
40
+ fi
41
+
42
# Build the PDF manual
43
manual:
44
0 commit comments