Running examples in ‘extractFAERS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: timetodayFAERS
> ### Title: Change all time units to days in the data filtered by
> ###   filter_by_occu_FAERS(). This function converts age and time units in
> ###   the data to days, and processes occupation and reaction data.
> ### Aliases: timetodayFAERS time_to_day_FAERS
> 
> ### ** Examples
> 
> # Example_1 Perform FAERS data preprocessing in one step and
> # generate `F_COREDATA_1PS_PROF_STU.RData` in a temporary folder.
> # In practice, it is recommended to set `usetempdir = FALSE` and specify `workingdir`
> # to prevent the processed results in the temporary folder from being automatically deleted.
> extract_FAERS_data(
+   workingdir = system.file("extdata", package = "extractFAERS"),
+   usetempdir = TRUE,
+   corenum = 2,
+   startfile = 1,
+   endfile = 4,
+   onlydoextract = FALSE,
+   occpextract = NULL
+ )
Found the following .zip files:

/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/extractFAERS/extdata/faers_ascii_2015q1_example.zip/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/extractFAERS/extdata/faers_ascii_2015q2_example.zip/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/extractFAERS/extdata/faers_ascii_2015q3_example.zip/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/extractFAERS/extdata/faers_ascii_2015q4_example.zip
Extracting:faers_ascii_2015q1_example.zip

Extracting:faers_ascii_2015q2_example.zip

Extracting:faers_ascii_2015q3_example.zip

Extracting:faers_ascii_2015q4_example.zip

Extraction complete. All files are now in:/tmp/Rtmpf7DJnB

Files have been organized.

[1] "/tmp/Rtmpf7DJnB/INDEX1PS/"
[1] "/tmp/Rtmpf7DJnB/DEMO1PS/"
[1] "/tmp/Rtmpf7DJnB/INDI1PS/"
[1] "/tmp/Rtmpf7DJnB/REAC1PS/"
Extracting DRUG data, This may take minitues to hours

Extracting /tmp/Rtmpf7DJnB/DEMO/ data, This may take minitues to hours

Error in serverSocket(port = port) : 
  creation of server socket failed: port 11246 cannot be opened
Calls: extract_FAERS_data -> makeCluster -> makePSOCKcluster -> serverSocket
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
                   user system elapsed
extract1PSFAERS   0.475  0.146  11.267
filterbyoccpFAERS 0.189  0.036  10.580