Closed milanmlft closed 3 months ago
When running sandpaper::update_cache(), the contents for requirements.txt get unintentionally removed if the Python packages are not yet installed locally on the system.
sandpaper::update_cache()
requirements.txt
# Add a non-installed package to requirements.txt writeLines("imnotinstalled", "requirements.txt") req <- readLines("requirements.txt") "imnotinstalled" %in% req #> [1] TRUE sandpaper::update_cache() req <- readLines("requirements.txt") "imnotinstalled" %in% req #> [1] FALSE
When running
sandpaper::update_cache()
, the contents forrequirements.txt
get unintentionally removed if the Python packages are not yet installed locally on the system.Reprex