I am having trouble rendering quarto docs using R, where the R code uses a package that calls out to a python method via reticulate.

I created a minimal example using a very simple R package (`botor`) wrapping python's `boto3` library.

    ---
    title: "Test R package with reticulate"
    format: html
    ---
    
    ```{r load-library}
    library(botor)
    ```
    
    Check the current AWS user’s name:
    
    ```{r whoami}
    iam_whoami()
    ```
    
    ```{r get_user}
    iam()$get_user()
    ```
    
Saving as a qmd file & rendering using quarto results in a failure in the `whoami` block. The same file renders fine as an Rmd file using `rmarkdown::render`.

I have observed the same behavior when using another package referencing a python library via reticulate, always in the block that calls out to the Python library.
  
The log looks like the following:

```
MacBook-Pro-8:deliverables jburos$ quarto render examples/Test-quarto-with-reticulate.qmd 


processing file: Test-quarto-with-reticulate.qmd
  |..........                                                            |  14%
  ordinary text without R code

  |....................                                                  |  29%
label: load-library
  |..............................                                        |  43%
  ordinary text without R code

  |........................................                              |  57%
label: whoami
MacBook-Pro-8:deliverables jburos$
```

Session info:  [session_info.txt](https://github.com/quarto-dev/quarto-cli/files/8445486/session_info.txt)


```r
> reticulate::py_config()
python:         /Users/jburos/Library/r-miniconda/envs/r-reticulate/bin/python
libpython:      /Users/jburos/Library/r-miniconda/envs/r-reticulate/lib/libpython3.6m.dylib
pythonhome:     /Users/jburos/Library/r-miniconda/envs/r-reticulate:/Users/jburos/Library/r-miniconda/envs/r-reticulate
version:        3.6.10 |Anaconda, Inc.| (default, May  7 2020, 23:06:31)  [GCC 4.2.1 Compatible Clang 4.0.1 (tags/RELEASE_401/final)]
numpy:          /Users/jburos/Library/r-miniconda/envs/r-reticulate/lib/python3.6/site-packages/numpy
numpy_version:  1.18.1
```
 
 Quarto version is: `0.9.194`
2022-04-07T18:17:37Z
jburos
closed
Quarto documents using R fail when using reticulate from within an R package
https://github.com/quarto-dev/quarto-cli/issues/577