Error in `check_py_pkgs_installed(required_py_pkgs)`: ✖ The following python modules are not available: scipy
ℹ Reason(s):
  
`No module named 'scipy'`

testthat::test_that("importing python packages - unit", {
testthat::test_that("importing main python packages - unit", {
testthat::test_that("importing python packages - integration", {
# Check that required packages for this function have been installed
required_py_pkgs <- c('pandas', 'scipy', 'numpy')
# This object (`py_objs`) will keep track of everything in your python environment
py_objs <- reticulate::py_run_string("data={'col1': [1, 2], 'col2': [3, 4]}")
# R call that uses the `pandas` python library

"importing python packages - integration"