* using log directory 'd:/Rcompile/CRANpkg/local/3.6/ptm.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'ptm/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'ptm' version '0.2.2' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'ptm' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [31s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking examples ... ERROR Running examples in 'ptm-Ex.R' failed The error most likely occurred in: > ### Name: prot2codon > ### Title: Find the Coding Triplets for a Given Protein > ### Aliases: prot2codon > > ### ** Examples > > prot2codon('P01009') *** WARNING *** Invalid character '*' in FASTA sequence data, ignored *** WARNING *** Assuming Amino (see -seqtype option), invalid letters found: O file10228366339df 2 seqs, max length 418, avg length 216 4278 MB(26%)00:00:00 Iter 1 33.33% K-mer dist pass 1 4278 MB(26%)00:00:00 Iter 1 100.00% K-mer dist pass 1 4278 MB(26%)00:00:00 Iter 1 33.33% K-mer dist pass 2 4278 MB(26%)00:00:00 Iter 1 100.00% K-mer dist pass 2 4278 MB(26%)00:00:00 Iter 1 100.00% Align node 4278 MB(26%)00:00:00 Iter 1 100.00% Align node 4278 MB(26%)00:00:00 Iter 1 50.00% Root alignment 4278 MB(26%)00:00:00 Iter 1 100.00% Root alignment 4278 MB(26%)00:00:00 Iter 1 100.00% Root alignment Warning in file.remove(tempIn, tempOut) : cannot remove file 'D:\temp\RtmpmGNWwn\file10228404a3a91.afa', reason 'Permission denied' Error in `$<-.data.frame`(`*tmp*`, "codon", value = c("CTG", "GCA")) : replacement has 2 rows, data has 1 Calls: prot2codon -> $<- -> $<-.data.frame Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [38s] OK Running 'testthat.R' [38s] * checking PDF version of manual ... OK * DONE Status: 1 ERROR