Comments (5)
All issues identified by devtools::check() have been resolved except for:
- checking R code for possible problems ... NOTE
community_stability: no visible binding for global variable ‘stability’
This looks like a simple problem from community_stability.R, line 19, maybe one of the
authors could fix this.
Also, running check on Max OSX (I'm on 10.9.5) produces this error:
- checking PDF version of manual ... WARNING
LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
! LaTeX Error: File `inconsolata.sty' not found.
This appears to be an error with the library 'texinfo @5.2.2' that is incompatible with R, and has been an issue for awhile. This error does not occur on Ubuntu 14.04, so this appears to be an issue with R and
not the codyn package. If you are interested, the problem is described here:
from codyn.
Actually, R CMD check --as-cran
gives three new NOTE
s which all are easy to fix.
In the first case check even gives the solution: capitalize initial letters
The Title field should be in title case, current version then in title case:
‘Community dynamics metrics’
‘Community Dynamics Metrics’
Second is more cryptic: you have to mean that in R "complete sentence" means any string ending with full stop (period). See https://stat.ethz.ch/pipermail/r-help/2015-July/430057.html . This also got into Twitter.
* checking DESCRIPTION meta-information ... NOTE
Malformed Description field: should contain one or more complete sentences.
These were old things, but new R also wants you to explicitly import packages in stats, graphics etc. Fortunately the new check also gives you the text you need to add to your NAMESPACE
:
Undefined global functions or variables:
aggregate as.formula cor cov lm quantile sd stability var
Consider adding
importFrom("stats", "aggregate", "as.formula", "cor", "cov", "lm",
"quantile", "sd", "var")
to your NAMESPACE.
This adds several new unknown names in addition to stability
.
The coding of stability
is really opaque, though. I had to look code for a long time before noticing that you referred to a column in output
. I would consider more transparent coding.
Please do not use is.na(stability) == F
but use instead !is.na(stability)
.
from codyn.
Fixed all issues with non-ASCII characters in doc files.
from codyn.
Confirmed that all checks are working on:
- Mac OS X 10.3.3, R 3.2.2
- Debian, R 3.2.2
- Debian, R-devel
- Windows, R 3.2.2
- Windows, R-devel
from codyn.
All checks resolved.
from codyn.
Related Issues (20)
- update vignettes for new spatial functions HOT 2
- multivariate_difference fails for dataset with one replicate
- Time analysis not with years but with dates HOT 4
- update codyn for R 4.0 HOT 2
- update cran-comments, description, and version for 2.0.4 HOT 6
- Installation error: package 'codyn' is not available (for R version 3.6.2) HOT 2
- new release for R R version 3.6.3 or above? HOT 2
- add paper ref to DESCRIPTION HOT 4
- replicate column and mutiple records error message HOT 4
- codyn 2.0.4 failing CRAN checks HOT 3
- prep release for 2.0.5 HOT 4
- Dealing with multiple ASV classified as unknown HOT 1
- synchrony.R line 113 does not work as intended HOT 4
- synchrony.R line 166 ['Gross'] creating error HOT 4
- community_stability is missing the species.var argument HOT 2
- Error in names(output) <- `*vtmp*` : 'names' attribute [1] must be the same length as the vector [0] HOT 5
- synchrony.R; metric = "Gross" producing different synchrony measures than expected HOT 2
- requesting rephrasing of error message for function `check_multispp` HOT 5
- Generate null communities for synchrony (Gross)
- rate_change_interval w Bray curtis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codyn.