Running examples in 'tidysq-Ex.R' failed
The error most likely occurred in:

> ### Name: random_sq
> ### Title: Generate random sequences
> ### Aliases: random_sq
> 
> ### ** Examples
> 
> # Setting seed for reproducibility
> set.seed(16)
> 
> # Generating random sequences
> random_sq(10, 10, "ami_bsc")
basic amino acid sequences list:
 [1] GSCSLRWKLV                                                             <10>
 [2] QFVGDSLHHW                                                             <10>
 [3] NKECSGNNID                                                             <10>
 [4] YLHLGCRLLQ                                                             <10>
 [5] YAAWCIMRTK                                                             <10>
 [6] MELQLGKIFK                                                             <10>
 [7] SNELCVTCVW                                                             <10>
 [8] FCHDEWFQAT                                                             <10>
 [9] WFNMFMQVRT                                                             <10>
[10] FKEGHSHCCN                                                             <10>
> random_sq(25, 18, "rna_bsc", sd = 6)
basic RNA sequences list:
 [1] GGUGUCGCCGCUCGCCGCG                                                    <19>
 [2] UGCCUGCCUUCUUGCUGCCCCUU                                                <23>
 [3] CCCCUGCUCUCUCGCCGUUGUGU                                                <23>
 [4] CCCCGCCGUUGUCUUGUUUUCCC                                                <23>
 [5] CUGGGCU                                                                 <7>
 [6] GCUUUGCGCGCCCGGGCGUGUG                                                 <22>
 [7] UGCUCUUUUGGUUUGUUGCCUGCUU                                              <25>
 [8] GCGUCGCGUGU                                                            <11>
 [9] GGGUCUUUCGUGUCGUCCUGUUCCGGGCGUGCCGUGC                                  <37>
[10] CGCCGUGGGGGUCC                                                         <14>
printed 10 out of 25
> random_sq(50, 8, "dna_ext", sd = 3)
extended DNA sequences list:
 [1] RKYCYAM                                                                 <7>
 [2] AKGDD                                                                   <5>
 [3] RACBTTGT                                                                <8>
 [4] YBYSTCCRCR                                                             <10>
 [5] DBYNYYB                                                                 <7>
 [6] BMAYCWVGVTC                                                            <11>
 [7] KYBKTDGNWVBBD                                                          <13>
 [8] SK                                                                      <2>
 [9] NKDBN                                                                   <5>
[10] MWRAG                                                                   <5>
printed 10 out of 50
> random_sq(6, 100, "ami_bsc", use_gap = TRUE)
basic amino acid sequences list:
[1] EEEGYFYRFH-RCETQCQFTFYREHDYGSRC-GSGTIILSSEIVGQYYMWHDNNMSMQIGQQRILFN... <100>
[2] -W-MKDWICTIEFQGWNINNHTQIWETEIF-RRHYSFSLLEMQRLEILQWNWMIQMKTW-NQVTCAN... <100>
[3] VTVVHMWFH-VD-VD-FWNQH-MG-NFAVHRGHH-SSAIRQVDQENFFLSMQHNCQLESGDDKFC-Q... <100>
[4] GGQSWQSECQFDNAKIQLCVIKRSCWG-EHEADEGWCHVLASDRHYTGEEHMQMWCAWF-TAEFRNM... <100>
[5] YIQHAEMGDHELWES-C-SEMGIMIWKKAC-G-WFHAVKFRCT-IRNVF---MCESSNAEFLHMVMW... <100>
[6] VV-CQQAHSSHVHRELFYSQWQVYYYICMERQCLYHWGVTQNCHMKRQGSHDQW-EMLRARKSAHGE... <100>
> 
> # Passing whole alphabet instead of type
> random_sq(4, 12, c("Pro", "Gly", "Ala", "Met", "Cys"))
atp (atypical alphabet) sequences list:
Error in base::nchar(strip_style(x), ...) : 
  number of characters is not computable in "bytes" encoding, element 1
Calls: <Anonymous> ... format_sequences_and_lengths -> sapply -> lapply -> col_nchar -> <Anonymous>
Execution halted