Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed May 6, 2022
1 parent 0917184 commit d82ae30
Showing 1 changed file with 11 additions and 34 deletions.
45 changes: 11 additions & 34 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,42 +2,19 @@ Update in preparation for big changes in v1.0.0 that will remove support for soo

The message on load will give people a chance to provide feedback.

## R CMD check results

0 errors | 0 warnings | 2 notes

* checking R code for possible problems ... [29s] NOTE
File 'stplanr/R/zzz.R':
.onLoad calls:
packageStartupMessage(paste0("Loading stplanr v0.9.0.\n", "Note: the next planned version, v1.0.0, will not support sp objects.\n", "See the issue #332 and https://github.com/ropensci/stplanr/pull/481.", "Any feedback on GitHub: welcome. Thanks (Robin Lovelace, April 2022)!"))
Also contains fixes based on emails from CRAN and best practice checks.

See section 'Good practice' in '?.onAttach'.
Results on WinBuilder: https://win-builder.r-project.org/lsiV27w76DU3/00check.log

Found if() conditions comparing class() to string:
File 'stplanr/R/oneway.R': if (class(x) == "factor") ...
File 'stplanr/R/oneway.R': if (class(y) == "factor") ...
File 'stplanr/R/oneway.R': if (class(x) == "factor") ...
File 'stplanr/R/oneway.R': if (class(y) == "factor") ...
Use inherits() (or maybe is()) instead.
* checking Rd files ... [1s] OK

I don't think these URLs are incorrect:
## R CMD check results
checking R code for possible problems ... NOTE
File ‘stplanr/R/zzz.R’:
.onLoad calls:
packageStartupMessage(paste0("Loading stplanr v0.9.0.\n", "Note: the next planned version, v1.0.0, will not support sp objects.\n", "See the issue #332 and https://github.com/ropensci/stplanr/pull/481.", "Any feedback on GitHub: welcome. Thanks (Robin Lovelace, April 2022)!"))

See section ‘Good practice’ in '?.onAttach'.

* checking CRAN incoming feasibility ... NOTE
Maintainer: 'Robin Lovelace <rob00x@gmail.com>'
0 errors ✔ | 0 warnings ✔ | 2 notes ✖

Found the following (possibly) invalid URLs:
URL: https://doi.org/10.1177/2399808320942779
From: man/overline.Rd
Status: 503
Message: Service Unavailable
URL: https://doi.org/10.3141/2308-01
From: inst/doc/stplanr-paper.html
Status: 503
Message: Service Unavailable
R CMD check succeeded

Found the following (possibly) invalid DOIs:
DOI: 10.1177/2399808320942779
From: DESCRIPTION
Status: Service Unavailable
Message: 503

0 comments on commit d82ae30

Please sign in to comment.