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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  ‘there is no package called ‘GenomeInfoDb’’
Error in .requirePackage(package) : 
  unable to load required package ‘GenomeInfoDb’
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted
Running examples in ‘RapidoPGS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  ‘there is no package called ‘GenomeInfoDb’’
Error in .requirePackage(package) : 
  unable to load required package ‘GenomeInfoDb’
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted
Running examples in ‘RapidoPGS-Ex.R’ failed
The error most likely occurred in:

> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  ‘there is no package called ‘GenomeInfoDb’’
Error in .requirePackage(package) : 
  unable to load required package ‘GenomeInfoDb’
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted
Running examples in 'RapidoPGS-Ex.R' failed
The error most likely occurred in:

> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  'there is no package called 'GenomeInfoDb''
Error in .requirePackage(package) : 
  unable to load required package 'GenomeInfoDb'
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted
Running examples in ‘RapidoPGS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  ‘there is no package called ‘GenomeInfoDb’’
Error in .requirePackage(package) : 
  unable to load required package ‘GenomeInfoDb’
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted
Running examples in ‘RapidoPGS-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  ‘there is no package called ‘GenomeInfoDb’’
Error in .requirePackage(package) : 
  unable to load required package ‘GenomeInfoDb’
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted
Running examples in 'RapidoPGS-Ex.R' failed
The error most likely occurred in:

> ### Name: rapidopgs_single
> ### Title: Compute PGS from GWAS summary statistics using posteriors from
> ###   Wakefield's approximate Bayes Factors
> ### Aliases: rapidopgs_single
> 
> ### ** Examples
> 
> sumstats <- data.table(SNPID=c("rs139096444","rs3843766","rs61977545", "rs544733737",
+ 		"rs2177641", "rs183491817", "rs72995775","rs78598863", "rs1411315"), 
+ 		CHR=c(4,20,14,2,4,6,6,21,13), 
+ 		BP=c(1479959, 13000913, 29107209, 203573414, 57331393, 11003529, 149256398, 
+ 				25630085, 79166661), 
+ 		REF=c("C","C","C","T","G","C","C","G","T"), 
+ 		ALT=c("A","T","T","A","A","A","T","A","C"), 
+ 		BETA=c(0.012,0.0079,0.0224,0.0033,0.0153,0.058,0.0742,0.001,-0.0131),
+ 		SE=c(0.0099,0.0066,0.0203,0.0171,0.0063,0.0255,0.043,0.0188,0.0074))
> 
> PGS  <- rapidopgs_single(sumstats,  trait = "cc")
Assigning LD blocks...
Loading required namespace: GenomeInfoDb
Failed with error:  'there is no package called 'GenomeInfoDb''
Error in .requirePackage(package) : 
  unable to load required package 'GenomeInfoDb'
Calls: rapidopgs_single ... vapply -> FUN -> is -> getClassDef -> .requirePackage
Execution halted