Skip to content

Conversation

@topepo
Copy link
Member

@topepo topepo commented Mar 3, 2019

For classification problems, an error is thrown if the outcome is not a factor:

Error: For classification models, the outcome should be a factor.

There are a lot of travis related changes too:

  • To get travis to run tests, the modeling packages have to be formal dependencies so a bunch were added to Suggests. This may be temporary; I may decide to remove these for the version sent to CRAN. rstanarm was excluded because compiling it (and its dependencies) exceeded the time allowed by travis.

  • A variety of changes were made to the tests related to r-devel. It looks like any function directly accessed in the tests now need to be formal dependencies (not the case before). There is still some weirdness about this though and I've attributed it to being devel. Hopefully this will get smoothed out.

```
* installing *source* package ‘devtools’ ...
** package ‘devtools’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
  there is no package called ‘magrittr’
ERROR: lazy loading failed for package ‘devtools’
* removing ‘/home/travis/R/Library/devtools’
* restoring previous ‘/home/travis/R/Library/devtools’
The downloaded source packages are in
	‘/tmp/RtmpUhu1j4/downloaded_packages’
Warning message:
In install.packages(c("devtools")) :
  installation of package ‘devtools’ had non-zero exit status
```
@codecov-io
Copy link

Codecov Report

Merging #159 into master will increase coverage by 0.31%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
+ Coverage   72.72%   73.04%   +0.31%     
==========================================
  Files          36       36              
  Lines        2651     2656       +5     
==========================================
+ Hits         1928     1940      +12     
+ Misses        723      716       -7
Impacted Files Coverage Δ
R/multinom_reg.R 78.37% <100%> (ø) ⬆️
R/fit_helpers.R 94.95% <100%> (+0.22%) ⬆️
R/predict.R 71.91% <0%> (-5.62%) ⬇️
R/svm_poly.R 86.15% <0%> (+3.07%) ⬆️
R/svm_rbf.R 85.96% <0%> (+3.5%) ⬆️
R/predict_numeric.R 73.91% <0%> (+4.34%) ⬆️
R/predict_classprob.R 77.27% <0%> (+9.09%) ⬆️
R/nearest_neighbor.R 82.97% <0%> (+10.63%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 52ddb78...7361077. Read the comment docs.

1 similar comment
@codecov-io
Copy link

codecov-io commented Mar 3, 2019

Codecov Report

Merging #159 into master will increase coverage by 0.31%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #159      +/-   ##
==========================================
+ Coverage   72.72%   73.04%   +0.31%     
==========================================
  Files          36       36              
  Lines        2651     2656       +5     
==========================================
+ Hits         1928     1940      +12     
+ Misses        723      716       -7
Impacted Files Coverage Δ
R/multinom_reg.R 78.37% <100%> (ø) ⬆️
R/fit_helpers.R 94.95% <100%> (+0.22%) ⬆️
R/predict.R 71.91% <0%> (-5.62%) ⬇️
R/svm_poly.R 86.15% <0%> (+3.07%) ⬆️
R/svm_rbf.R 85.96% <0%> (+3.5%) ⬆️
R/predict_numeric.R 73.91% <0%> (+4.34%) ⬆️
R/predict_classprob.R 77.27% <0%> (+9.09%) ⬆️
R/nearest_neighbor.R 82.97% <0%> (+10.63%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 52ddb78...7361077. Read the comment docs.

@topepo topepo merged commit 0ec108d into master Mar 3, 2019
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2021

This pull request has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

@github-actions github-actions bot locked and limited conversation to collaborators Mar 8, 2021
@hfrick hfrick deleted the no-factor-fail branch September 17, 2021 14:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants