Skip to content

Commit

Permalink
load birdnetR python module while running test on Github Action
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyTseng committed Aug 14, 2024
1 parent dc9cfd6 commit 67a0a08
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/testthat/helper.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# the Python 'birdnet' module are installed; if not,
# either print a message for the user instructing
# them to install those, or see if we can do it
# automatically.
.check_birdnet_version()
# make sure birdnet Python modules are installed
## devtools::load_all()
## install_birdnet()
# automatically. Can use .check_birdnet_version()

# make sure birdnet Python modules are installed
devtools::load_all()
birdnetR::install_birdnet()

# Make sure reticulate uses the 'r-birdnet'
# virtual environment when running tests.
Expand Down

0 comments on commit 67a0a08

Please sign in to comment.