Running 'testthat.R' [162s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tidyrgee)
  
  Attaching package: 'tidyrgee'
  
  The following object is masked from 'package:stats':
  
      filter
  
  The following object is masked from 'package:graphics':
  
      clip
  
  > library(sf)
  Linking to GEOS 3.11.2, GDAL 3.8.2, PROJ 9.3.1; sf_use_s2() is TRUE
  > library(rgee)
  > 
  > 
  > Sys.setenv(EARTHENGINE_PYTHON="/usr/bin/python3")
  > Sys.setenv(RETICULATE_PYTHON="/usr/bin/python3")
  > 
  > # Pre-checking ------------------------------------------------------
  > # Google credentials were loaded in the system?
  > skip_if_no_credentials <- function() {
  +   ee_path <- ee_get_earthengine_path()
  +   credentials <- list.files(
  +     path = ee_path,
  +     pattern = "@gmail.com|credentials|GCS_AUTH_FILE.json"
  +   )
  +   if (length(credentials) != 3) {
  +     skip("All google credentials were not found")
  +   }
  + }
  > 
  > # Necessary Python packages were loaded?
  > skip_if_no_pypkg <- function() {
  +   have_ee <- reticulate::py_module_available("ee")
  +   have_numpy <- reticulate::py_module_available("numpy2")
  +   if (isFALSE(have_ee)) {
  +     skip("ee not available for testing")
  +   }
  +   if (isFALSE(have_numpy)) {
  +     skip("numpy not available for testing")
  +   }
  + }
  > 
  > # Define your Drive folder to save intermediate files
  > # ALERT!!: After tests finished all the files inside the folder
  > # will be deleted.
  > drive_folder_f <- function(){
  +   "rgee_backup"
  + }
  > 
  > # Define your own GCS bucket with fine-grained access to save
  > # intermediate files. ALERT!!: After test finished all the files
  > # inside the bucket will be deleted.
  > gcs_bucket_f <- function(){
  +   "rgee_dev"
  + }
  > 
  > # Define your own GCS bucket with uniform access to save
  > # intermediate files. ALERT!!: After test finished all the files
  > # inside the bucket will be deleted.
  > gcs_bucket_uniform_f <- function(){
  +   "rgee_dev_uniform"
  + }
  > 
  > # Initialize credentials
  > # If you do not count with GCS credentials the test will be skipped
  > have_ee <- reticulate::py_module_available("ee")
  > have_numpy <- reticulate::py_module_available("numpy2")
  > if (have_ee & have_numpy) {
  +   ee_Initialize(drive = TRUE, gcs = TRUE)
  + }
  > 
  > test_check("tidyrgee")
  [ FAIL 0 | WARN 0 | SKIP 7 | PASS 0 ]
  
  ══ Skipped tests (7) ═══════════════════════════════════════════════════════════
  • ee not available for testing (7): 'test-as_ee.R:1:1', 'test-filter.R:1:1',
    'test-filters.R:1:1', 'test-group_by.R:1:1', 'test-summarise.R:1:1',
    'test-tidyee.R:2:1', 'test-year_month_composite.R:1:1'
  
  [ FAIL 0 | WARN 0 | SKIP 7 | PASS 0 ]
  > 
  > proc.time()
     user  system elapsed 
     2.78    0.40    3.18