This pull request is intended to help dampack get back onto CRAN.
Some comments:
The tests were failing due to the linter. After fixing most of the warnings, I was still not able to address the [object_usage_linter] warnings for local variable assigned but may not be used to pass (the linter seems to be wrong in many cases). I added skip_on_cran() and skip_on_travis(). To be honest, the linter only found one or two meaningful issues.
ggplot2 was complaining about aes_ and aes_string being deprecated. I have added rlang as a dependency and simplified the aes calls.
ggplot2 was also complaining about the use of .data$varName. Although not a great solution, I removed this pattern and added initial NULL values to ensure that CRAN does not complain about a variable not being known.
I fixed the documentation that caused dampack to be removed from CRAN.
This pull request is intended to help
dampack
get back onto CRAN.Some comments:
local variable assigned but may not be used
to pass (the linter seems to be wrong in many cases). I addedskip_on_cran()
andskip_on_travis()
. To be honest, the linter only found one or two meaningful issues.ggplot2
was complaining aboutaes_
andaes_string
being deprecated. I have addedrlang
as a dependency and simplified theaes
calls.ggplot2
was also complaining about the use of.data$varName
. Although not a great solution, I removed this pattern and added initial NULL values to ensure that CRAN does not complain about a variable not being known.dampack
to be removed from CRAN.CITATION
file formatI hope that this is useful.
Sincerely, Mark.