The submission failed the pre-tests with the following notes: package SiPhyNetwork_1.1.0.tar.gz does not pass the incoming checks automatically, please see the following pre-tests:
Windows: https://win-builder.r-project.org/incoming_pretest/SiPhyNetwork_1.1.0_20230414_172842/Windows/00check.log Status: OK
Looking at the log here everything seemed fine
Debian: https://win-builder.r-project.org/incoming_pretest/SiPhyNetwork_1.1.0_20230414_172842/Debian/00check.log Status: 1 NOTE
The one note had to do with a unexported function 'vcv.net'. I changed the name to vcv_net to avoid any potential method issues.
The package was checked on both release and development versions of R on the latest versions of Windows, Mac, and Linux 0 errors | 0 warnings | 1 notes
There was one note from devtools:check(): checking for future file timestamps ... NOTE unable to verify current time
This seemed like a note that is dependent on the clock webpage: https://stackoverflow.com/questions/63613301/r-cmd-check-note-unable-to-verify-current-time
There are no known dependencies on this package
There was one warning from the web checks:
Version: 1.0.0 Check: whether package can be installed Result: WARN Found the following significant warnings: code.cpp:37:10: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical] code.cpp:37:50: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] code.cpp:46:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-fedora-clang
I made the following operands boolean instead of bitwise
The package was checked on both release and development versions of R on the latest versions of Windows, Mac, and Linux There were no ERRORs or WARNINGs
There were two NOTEs when using check_rhub()
to build on Windows:
checking for detritus in the temp directory ... NOTE
Found the following files/directories:
'lastMiKTeXException'
As noted in R-hub issue #503, this could be due to a bug/crash in MiKTeX and can likely be ignored.
Possibly misspelled words in DESCRIPTION:
Reticulate (2:37)
phylogenies (12:805)
reticulate (12:30, 12:147, 12:280)
These words are correctly spelled but just uncommon
This is a new package and there are no downstream dependencies that I am aware of
Thanks Benjamin for the Feedback. My notes are in bulleted points after each comment:
If there are references describing the methods in your package, please add these in the description field of your DESCRIPTION file in the form authors (year) authors (year) authors (year, ISBN:...) or if those are not available: with no space after 'doi:', 'arXiv:', 'https:' and angle brackets for auto-linking. (If you want to add a title as well please put it in quotes: "Title")
You have in inst/doc/introduction.R
old_pars <- par() ... par(old_pars)
but this will produce warnings
You need:
old_pars <- par(no.readonly = TRUE) ... par(old_pars)
Please do not modify the global environment (e.g. by using <<-) in your functions. This is not allowed by the CRAN policies.
foo<-function(){
x<-1
foo2<-function(y){
x<<-x+y
}
###Do Stuff including call foo2
foo2(3)
foo2(4)
###etc.
return(x)
}
Thank you Victoria for initially looking over the package. Here are the comments and my attempts to address them. My notes are bulleted points after each comment.
The Description field is intended to be a (one paragraph) description of what the package does and why it may be useful. Please add more details about the package functionality and implemented methods in your Description text.
If there are references describing the methods in your package, please add these in the description field of your DESCRIPTION file in the form authors (year) authors (year) authors (year, ISBN:...) or if those are not available: with no space after 'doi:', 'arXiv:', 'https:' and angle brackets for auto-linking. (If you want to add a title as well please put it in quotes: "Title")
Please add \value to .Rd files regarding exported methods and explain the functions results in the documentation. Please write about the structure of the output (class) and also what the output means. (If a function does not return a value, please document that too, e.g. \value{No return value, called for side effects} or similar) Missing Rd-tags: biconnectedComponents.Rd: \value read.net.Rd: \value
Please write TRUE and FALSE instead of T and F. man/network.gsa.Rd: network.gsa(net, ntaxa, complete = T, frac = 1, stochsampling = F)
Warning: Unexecutable code in man/make.trait.model.Rd:
Please always make sure to reset to user's options(), working directory or par() after you changed it in examples and vignettes and demos. (inst/doc/introduction.R) e.g.: oldpar <- par(mfrow = c(1,2)) ... par(oldpar)
** Reset the graphical options back to defaults
Please do not modify the global environment (e.g. by using <<-) in your functions. This is not allowed by the CRAN policies.
** The place where I used "<<-" is a function within a function, so it should only be modifying the first functions environment. Also, the place where I see "<<-" are in 'read.net.R' and 'write.net.R' is code copied from the "ape" package that is already on CRAN.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.