Skip to content

Commit 9a3efd9

Browse files
committed
Confirm that we are seeing quarto
1 parent b4dc5b1 commit 9a3efd9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

R/buildtools.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,11 @@ install_dependencies <- function(path = '.'){
401401
if(isTRUE('rJava' %in% rundeps)){
402402
file.create('/NEED_RJAVA')
403403
}
404+
405+
# This does not include 'suggests'
406+
if(isTRUE('quarto' %in% c(rundeps, desc$Package))){
407+
file.create('/NEED_QUARTO')
408+
}
404409
if(isTRUE(any(c('rjags', 'runjags') %in% c(rundeps, desc$Package)))){
405410
if(!require('rjags'))
406411
utils::install.packages('rjags')

shims/quarto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/sh
22
touch /NEED_QUARTO
3+
echo "Recording quarto use" 1>&2
34
exec /usr/local/bin/quarto "$@"

0 commit comments

Comments
 (0)