-
Notifications
You must be signed in to change notification settings - Fork 1
Fix warnings and notes after running devtools::check(). #22
Comments
I replaced data/barro colorado island_formated_data.Rdata with data/DF. I replace it because the name is long, has spaces, and doesn't match checking contents of 'data' directory ... WARNING
Files not of a type allowed in a 'data' directory:
'barro colorado island_formated_data.Rdata' Also:
Please document this dataset in R/data.R |
@ervanSTRI, please use the messages from
|
This warning is a difficult to fix. Your datasets have non-ASCII characters and it may not be possible to replace them with ASCII characters. I've faced this problem before and I haven't figured out how to fix it. * checking data for non-ASCII characters ... WARNING
Warning: found non-ASCII strings
'bigll3C�B!' in object 'WSG'
'pequeC�B1a' in object 'WSG' |
Notes are less important to fix but it's good practice to try aim for 0 errors, 0 warnings, and 0 notes. This is the general requirement to submit to CRAN. Functions that use non-standard evaluation commonly cause this notes. For variables used in ggplot2, for example, you can fix this by refering to checking R code for possible problems ... NOTE
LOAD: warning in objects(env, all = TRUE): partial argument match of
'all' to 'all.names'
assignAGB: no visible binding for global variable 'df'
assignAGB: no visible binding for global variable '..height'
assignAGB: no visible binding for global variable 'site'
assignAGB: no visible binding for global variable 'site.info'
assignWD: no visible binding for global variable 'DATA_path'
assignWD: no visible binding for '<<-' assignment to 'DATA_path'
assignWD: no visible binding for global variable 'path_folder'
... 104 lines ... |
* Remove old documentation. * Add dummy test to avoid CMD R check error. * Replace bad object on data/.
I'll refer to this issue as I address problems identified with
devtools::check()
.The text was updated successfully, but these errors were encountered: