### Bug description

Consider the minimal working example

``````
---
title: "Minimal Working Example"
format:
  html:
    df-print: paged
---

## Tables

```{r}
#| echo: true
#| warning: false
#| error: false
#| output: true
#| label: tbl-iris
#| tbl-cap: Edgar Anderson's Iris Data.

iris
```
``````

It produces

![Screenshot 2022-07-30 at 16-39-07 Minimal Working Example](https://user-images.githubusercontent.com/1506457/181902807-ed1b09b0-c5ab-454f-97e9-d8cce34dd5ce.png)

Now, compare with (replaced `df-print: paged` with `df-print: kable`)

``````
---
title: "Minimal Working Example"
format:
  html:
    df-print: kable
---

## Tables

```{r}
#| echo: true
#| warning: false
#| error: false
#| output: true
#| label: tbl-iris
#| tbl-cap: Edgar Anderson's Iris Data.

iris
```
``````

It produced

![Screenshot 2022-07-30 at 16-39-51 Minimal Working Example](https://user-images.githubusercontent.com/1506457/181902856-338dc18c-b920-4f90-a03a-347a20f014e8.png)


### `quarto check` Output

```
[✓] Checking Quarto installation......OK
      Version: 0.9.649
      Path: /usr/lib/rstudio/bin/quarto/bin

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.9.10 (Conda)
      Path: /home/raniere/mambaforge/bin/python
      Jupyter: 4.9.2
      Kernels: django_extensions, bash, python3

(|) Checking Jupyter engine render....[IPKernelApp] WARNING | Error in loading extension: django_extensions.management.notebook_extension
Check your config files in /home/raniere/.ipython/profile_default
Traceback (most recent call last):
  File "/home/raniere/mambaforge/lib/python3.9/site-packages/IPython/core/shellapp.py", line 283, in init_extensions
    self.shell.extension_manager.load_extension(ext)
  File "/home/raniere/mambaforge/lib/python3.9/site-packages/IPython/core/extensions.py", line 76, in load_extension
    return self._load_extension(module_str)
  File "/home/raniere/mambaforge/lib/python3.9/site-packages/IPython/core/extensions.py", line 92, in _load_extension
    mod = import_module(module_str)
  File "/home/raniere/mambaforge/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'django_extensions'
Exception ignored in: <function BaseEventLoop.__del__ at 0x7fa0622399d0>
Traceback (most recent call last):
  File "/home/raniere/mambaforge/lib/python3.9/asyncio/base_events.py", line 683, in __del__
    self.close()
  File "/home/raniere/mambaforge/lib/python3.9/asyncio/unix_events.py", line 58, in close
    super().close()
  File "/home/raniere/mambaforge/lib/python3.9/asyncio/selector_events.py", line 92, in close
    self._close_self_pipe()
  File "/home/raniere/mambaforge/lib/python3.9/asyncio/selector_events.py", line 99, in _close_self_pipe
    self._remove_reader(self._ssock.fileno())
  File "/home/raniere/mambaforge/lib/python3.9/asyncio/selector_events.py", line 277, in _remove_reader
    key = self._selector.get_key(fd)
  File "/home/raniere/mambaforge/lib/python3.9/selectors.py", line 191, in get_key
    return mapping[fileobj]
  File "/home/raniere/mambaforge/lib/python3.9/selectors.py", line 72, in __getitem__
    fd = self._selector._fileobj_lookup(fileobj)
  File "/home/raniere/mambaforge/lib/python3.9/selectors.py", line 226, in _fileobj_lookup
    return _fileobj_to_fd(fileobj)
  File "/home/raniere/mambaforge/lib/python3.9/selectors.py", line 42, in _fileobj_to_fd
    raise ValueError("Invalid file descriptor: {}".format(fd))
ValueError: Invalid file descriptor: -1
[✓] Checking Jupyter engine render....OK

[✓] Checking R installation...........OK
      Version: 4.2.1
      Path: /usr/lib64/R
      LibPaths:
        - /home/raniere/R/x86_64-pc-linux-gnu-library/4.2
        - /usr/lib/R/library
      rmarkdown: 2.14

[✓] Checking Knitr engine render......OK
```

### `quarto tools check` Output

```
[✓] Inspecting tools

Tool         Status            Installed     Latest  
chromium     Not installed     ---           869685  
tinytex      Not installed     ---           v2022.07
```

### Checklist

- [X] [formatted your issue](https://yihui.org/issue/#please-format-your-issue-correctly) so it is easier for us to read?
- [X] included a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] documented the quarto version you're running, by pasting the output from running `quarto check` in the "Quarto Check Output" text area?
- [X] documented the version of the quarto tools you're running, by providing the output from running `quarto tools check` in the "Quarto Tools Check Output" text area?
- [X] documented the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] documented which operating system you're running? If on Linux, please provide the specific distribution as well.
- [X] upgraded to the latest version, including your versions of R, the RStudio IDE, and relevant R packages?
cscheid
2022-07-30T08:47:27Z
rgaiacs
bug
v1.1
closed
tbl-cap does not work with df-print: paged
https://github.com/quarto-dev/quarto-cli/issues/1597