Skip to content

rendering an script creates _files directory not cleared #2595

@fgoerlich

Description

@fgoerlich

I found the same behaviour as described here when rendering an script.

The 'zip' file provides an example.

xfun::session_info('rmarkdown')
R version 4.5.1 (2025-06-13 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 26100), RStudio 2025.5.0.496

Locale:
  LC_COLLATE=Spanish_Spain.utf8  LC_CTYPE=Spanish_Spain.utf8    LC_MONETARY=Spanish_Spain.utf8 LC_NUMERIC=C                  
  LC_TIME=Spanish_Spain.utf8    

Package version:
  base64enc_0.1.3   bslib_0.9.0       cachem_1.1.0      cli_3.6.5         digest_0.6.37     evaluate_1.0.4    fastmap_1.2.0    
  fontawesome_0.5.3 fs_1.6.6          glue_1.8.0        graphics_4.5.1    grDevices_4.5.1   highr_0.11        htmltools_0.5.8.1
  jquerylib_0.1.4   jsonlite_2.0.0    knitr_1.50        lifecycle_1.0.4   memoise_2.0.1     methods_4.5.1     mime_0.13        
  R6_2.6.1          rappdirs_0.3.3    rlang_1.1.6       rmarkdown_2.29.1  sass_0.4.10       stats_4.5.1       tinytex_0.57     
  tools_4.5.1       utils_4.5.1       xfun_0.52         yaml_2.3.10      

Pandoc version: 3.4

Checklist

When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:

  • formatted your issue so it is easier for us to read?

  • included a minimal, self-contained, and reproducible example?

  • pasted the output from xfun::session_info('rmarkdown') in your issue?

  • upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)?

  • installed and tested your bug with the development version of the rmarkdown package using remotes::install_github("rstudio/rmarkdown") ?

Ejercicio_1.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    reprexneeds a minimal reproducible example

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions