Skip to content

R check error on mac OS #294

Description

@ginberg

Since a while the R check is failing on MAC OS:

❯ checking examples with --run-donttest ... [15s/14s] ERROR
  Running examples in ‘FeatureExtraction-Ex.R’ failed
  The error most likely occurred in:
  
  > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
  > ### Name: createTable1
  > ### Title: Create a table 1
  > ### Aliases: createTable1
  > 
  > ### ** Examples
  > 
  > ## No test: 
  > eunomiaConnectionDetails <- Eunomia::getEunomiaConnectionDetails()
  attempting to download GiBleed
  trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip'
  Content type 'application/zip' length 6861852 bytes (6.5 MB)
  ==================================================
  downloaded 6.5 MB
  
  attempting to extract and load: /var/folders/0j/bwqcs4y508s2n4ck4dhf3rpc0000gn/T//RtmpvmpvWO/working_dir/RtmpzVhcal/GiBleed_5.3.zip to: /var/folders/0j/bwqcs4y508s2n4ck4dhf3rpc0000gn/T//RtmpvmpvWO/working_dir/RtmpzVhcal/GiBleed_5.3.sqlite
  > covSettings <- createDefaultCovariateSettings()
  > Eunomia::createCohorts(
  +   connectionDetails = eunomiaConnectionDetails,
  +   cdmDatabaseSchema = "main",
  +   cohortDatabaseSchema = "main",
  +   cohortTable = "cohort"
  + )
  Cohorts created in table main.cohort
    cohortId       name
  1        1  Celecoxib
  2        2 Diclofenac
  3        3    GiBleed
  4        4     NSAIDs
                                                                                         description
  1    A simplified cohort definition for new users of celecoxib, designed specifically for Eunomia.
  2    A simplified cohort definition for new users ofdiclofenac, designed specifically for Eunomia.
  3 A simplified cohort definition for gastrointestinal bleeding, designed specifically for Eunomia.
  4       A simplified cohort definition for new users of NSAIDs, designed specifically for Eunomia.
    count
  1  1844
  2   [850](https://github.com/OHDSI/FeatureExtraction/actions/runs/13863669648/job/38797844222#step:13:851)
  3   479
  4  2694
  > covData1 <- getDbCovariateData(
  +   connectionDetails = eunomiaConnectionDetails,
  +   tempEmulationSchema = NULL,
  +   cdmDatabaseSchema = "main",
  +   cdmVersion = "5",
  +   cohortTable = "cohort",
  +   cohortDatabaseSchema = "main",
  +   cohortTableIsTemp = FALSE,
  +   cohortId = 1,
  +   rowIdField = "subject_id",
  
  Executing SQL took 0.[856](https://github.com/OHDSI/FeatureExtraction/actions/runs/13863669648/job/38797844222#step:13:857) secs
  Fetching data from server
  Fetching data took 0.0643 secs
  > table1 <- createTable1(
  +   covariateData1 = covData1,
  +   covariateData2 = covData2,
  +   cohortId1 = 1,
  +   cohortId2 = 2,
  +   specifications = getDefaultTable1Specifications(),
  +   output = "one column",
  +   showCounts = FALSE,
  +   showPercent = TRUE,
  +   percentDigits = 1,
  +   valueDigits = 1,
  +   stdDiffDigits = 2
  + )
  Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize()
  Execution halted

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions