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

> ### Name: get_metadata
> ### Title: Download metadata from GEO and SRA
> ### Aliases: get_metadata
> 
> ### ** Examples
> 
> 
> get_metadata(geo_series_acc="GSE102170",destdir=tempdir(),
+ geo_only=TRUE,download_method="auto")
File stored at: 
/tmp/RtmpsGot8U/GSE102170.soft.gz
Reading file....
Parsing....
Found 3 entities...
GPL15520 (1 of 4 entities)
GSM2729816 (2 of 4 entities)
GSM2729817 (3 of 4 entities)
trying URL 'https://ftp.ncbi.nlm.nih.gov/geo/series/GSE102nnn/GSE102170/matrix/GSE102170_series_matrix.txt.gz'
Content type 'application/x-gzip' length 1768 bytes
==================================================
downloaded 1768 bytes

Parsed with column specification:
cols(
  ID_REF = col_character(),
  GSM2729816 = col_character(),
  GSM2729817 = col_character()
)
$metadata_geo
                                      title geo_accession                status
1     Total RNA from BFTC 905/CTL cell line    GSM2729816 Public on Oct 01 2017
2 Total RNA from BFTC 905/ANGPTL4 cell line    GSM2729817 Public on Oct 01 2017
  submission_date last_update_date type channel_count          source_name_ch1
1     Aug 02 2017      Jan 23 2018  SRA             1 bladder cancer cell line
2     Aug 02 2017      Jan 23 2018  SRA             1 bladder cancer cell line
  organism_ch1 characteristics_ch1                        characteristics_ch1.1
1 Homo sapiens cell line: BFTC 905      transfection: pcDNA3.1 (vector control)
2 Homo sapiens cell line: BFTC 905 transfection: plasmid overexpressing ANGPTL4
                                                                                                                                                    treatment_protocol_ch1
1 BFTC 905 cells were either transfected with pcDNA3.1-myc-His (-) A or plasmid overexpressing ANGPTL4. Stable clones were selected using medium containing 400ug/ml G418.
2 BFTC 905 cells were either transfected with pcDNA3.1-myc-His (-) A or plasmid overexpressing ANGPTL4. Stable clones were selected using medium containing 400ug/ml G418.
                                                                                                                                        growth_protocol_ch1
1 BFTC 905 cells were maintained in RPMI-1640 medium supplemented with 10% FBS. Cells were incubated at 37C under a humidified atmosphere containing 5% CO2
2 BFTC 905 cells were maintained in RPMI-1640 medium supplemented with 10% FBS. Cells were incubated at 37C under a humidified atmosphere containing 5% CO2
  molecule_ch1                                           extract_protocol_ch1
1    total RNA Total RNA was extracted from each sample using TRIzol reagent.
2    total RNA Total RNA was extracted from each sample using TRIzol reagent.
  taxid_ch1
1      9606
2      9606
                                                             description
1 BFTC 905 bladder cancer cell line which the ANGPTL4 expression is low.
2 BFTC 905 bladder cancer cell line which the ANGPTL4 expression is low.
                       data_processing
1 Illumina MiSeq used for basecalling.
2 Illumina MiSeq used for basecalling.
                                data_processing.1
1 CLC Genomics Workbench 8.5.1 software was used.
2 CLC Genomics Workbench 8.5.1 software was used.
                                             data_processing.2
1 The raw reads were cleaned by trimming of adaptor sequences.
2 The raw reads were cleaned by trimming of adaptor sequences.
                                                                   data_processing.3
1 Sequenced reads were mapped to hg19 genome using CLC Workbench default parameters.
2 Sequenced reads were mapped to hg19 genome using CLC Workbench default parameters.
   data_processing.4
1 Genome_build: hg19
2 Genome_build: hg19
                                                                     data_processing.5
1 Supplementary_files_format_and_content: fastq files were generated by Illumina MiSeq
2 Supplementary_files_format_and_content: fastq files were generated by Illumina MiSeq
  platform_id    contact_name          contact_email
1    GPL15520 Yu Ming,,Chuang ccu403250029@gmail.com
2    GPL15520 Yu Ming,,Chuang ccu403250029@gmail.com
                contact_department               contact_institute
1 Department of Biomedical Science National Chung Cheng University
2 Department of Biomedical Science National Chung Cheng University
                 contact_address contact_city contact_zip.postal_code
1 168 University Road,Min Hsiung      Chia-Yi                     621
2 168 University Road,Min Hsiung      Chia-Yi                     621
  contact_country data_row_count instrument_model library_selection
1          Taiwan              0   Illumina MiSeq              cDNA
2          Taiwan              0   Illumina MiSeq              cDNA
  library_source library_strategy
1 transcriptomic          RNA-Seq
2 transcriptomic          RNA-Seq
                                                        relation
1 BioSample: https://www.ncbi.nlm.nih.gov/biosample/SAMN07441805
2 BioSample: https://www.ncbi.nlm.nih.gov/biosample/SAMN07441808
                                             relation.1
1 SRA: https://www.ncbi.nlm.nih.gov/sra?term=SRX3056316
2 SRA: https://www.ncbi.nlm.nih.gov/sra?term=SRX3056317
                                                                               supplementary_file_1
1     ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM2729nnn/GSM2729816/suppl/GSM2729816_BFTC_CTL.txt.gz
2 ftp://ftp.ncbi.nlm.nih.gov/geo/samples/GSM2729nnn/GSM2729817/suppl/GSM2729817_BFTC_ANGPTL4.txt.gz
  cell.line.ch1               transfection.ch1
1      BFTC 905      pcDNA3.1 (vector control)
2      BFTC 905 plasmid overexpressing ANGPTL4

> 
> 
> 
> 
> cleanEx()

detaching 'package:bindrcpp'

Error: connections left open:
	NULL (textConnection)
Execution halted