When I try to R CMD check --as-cran the EdSurvey package for submission on 
R-devel I get this error:

> 
> * installing *source* package 'EdSurvey' ...
> ** using staged installation
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> Error: package or namespace load failed for 'car':
> package 'car' was installed before R 4.0.0: please re-install it
> Error: package 'car' could not be loaded
> Execution halted
> ERROR: lazy loading failed for package 'EdSurvey'
> * removing 'C:/Users/pbailey/Documents/GitHub/EdSurvey.Rcheck/EdSurvey'
>  


So, I went into R and tried installing car, and that  appears to exit cleanly 
(at end of message). But then I still got the same (above) message.

I made sure the .libPath was the one in R-devel/library.

What can I do to test my package on R-devel?


>  
> > install.packages("car")
> Warning: unable to access index for repository 
> https://cloud.r-project.org/bin/windows/contrib/4.1: 
> <https://cloud.r-project.org/bin/windows/contrib/4.1:>
>   cannot open URL 
> 'https://cloud.r-project.org/bin/windows/contrib/4.1/PACKAGES 
> <https://cloud.r-project.org/bin/windows/contrib/4.1/PACKAGES>'
> installing the source package ‘car’
>  
> trying URL 'https://cloud.r-project.org/src/contrib/car_3.0-7.tar.gz 
> <https://cloud.r-project.org/src/contrib/car_3.0-7.tar.gz>'
> Content type 'application/x-gzip' length 497735 bytes (486 KB)
> downloaded 486 KB
>  
> * installing *source* package 'car' ...
> ** package 'car' successfully unpacked and MD5 sums checked
> ** using staged installation
> ** R
> ** inst
> ** byte-compile and prepare package for lazy loading
> ** help
> *** installing help indices
>   converting help for package 'car'
>     finding HTML links ... done
>     Anova                                   html  
>     Boot                                    html  
>     Boxplot                                 html  
>     Contrasts                               html  
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/Contrasts.Rd:68:
>  file link 'contr.treatment' in package 'stats' does not exist and so has 
> been treated as a topic
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/Contrasts.Rd:68:
>  file link 'contr.sum' in package 'stats' does not exist and so has been 
> treated as a topic
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/Contrasts.Rd:69:
>  file link 'contr.helmert' in package 'stats' does not exist and so has been 
> treated as a topic
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/Contrasts.Rd:69:
>  file link 'contr.poly' in package 'stats' does not exist and so has been 
> treated as a topic
>     Ellipses                                html  
>     Export                                  html  
>     Import                                  html  
>     Predict                                 html  
>     S                                       html  
>     ScatterplotSmoothers                    html  
>     Tapply                                  html  
>     TransformationAxes                      html  
>     avPlots                                 html  
>     bcPower                                 html  
>     boxCox                                  html  
>     boxCoxVariable                          html  
>     boxTidwell                              html  
>     brief                                   html  
>     car-defunct                             html  
>     car-deprecated                          html  
>     car-internal                            html  
>     carHexsticker                           html  
>     carPalette                              html  
>     carWeb                                  html  
>     ceresPlots                              html  
>     compareCoefs                            html  
>     crPlots                                 html  
>     deltaMethod                             html  
>     densityPlot                             html  
>     dfbetaPlots                             html  
>     durbinWatsonTest                        html  
>     hccm                                    html  
>     hist.boot                               html  
>     infIndexPlot                            html  
>     influence-mixed-models                  html  
>     influencePlot                           html  
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/influencePlot.Rd:57:
>  file link 'cooks.distance' in package 'stats' does not exist and so has been 
> treated as a topic
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/influencePlot.Rd:57:
>  file link 'rstudent' in package 'stats' does not exist and so has been 
> treated as a topic
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/influencePlot.Rd:58:
>  file link 'hatvalues' in package 'stats' does not exist and so has been 
> treated as a topic
>     invResPlot                              html  
>     invTranPlot                             html  
>     leveneTest                              html  
>     leveragePlots                           html  
>     linearHypothesis                        html  
>     logit                                   html  
>     marginalModelPlot                       html  
>     mcPlots                                 html  
>     ncvTest                                 html  
>     outlierTest                             html  
>     panel.car                               html  
>     poTest                                  html  
>     powerTransform                          html  
>     qqPlot                                  html  
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/qqPlot.Rd:124:
>  file link 'qqplot' in package 'stats' does not exist and so has been treated 
> as a topic
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/qqPlot.Rd:125:
>  file link 'qqline' in package 'stats' does not exist and so has been treated 
> as a topic
>     recode                                  html  
>     regLine                                 html  
>     residualPlots                           html  
>     scatter3d                               html  
>     scatterplot                             html  
>     finding level-2 HTML links ... done
>  
>     scatterplotMatrix                       html  
>     showLabels                              html  
>     sigmaHat                                html  
>     some                                    html  
> Rd warning: 
> C:/Users/pbailey/AppData/Local/Temp/1/Rtmpisyc8f/R.INSTALL3f14202022a7/car/man/some.Rd:48:
>  file link 'tail' in package 'utils' does not exist and so has been treated 
> as a topic
>     spreadLevelPlot                         html  
>     subsets                                 html  
>     symbox                                  html  
>     testTransform                           html  
>     vif                                     html  
>     wcrossprod                              html  
>     which.names                             html  
> ** building package indices
> ** installing vignettes
> ** testing if installed package can be loaded from temporary location
> *** arch - i386
> *** arch - x64
> ** testing if installed package can be loaded from final location
> *** arch - i386
> *** arch - x64
> ** testing if installed package keeps a record of temporary installation path
> * DONE (car)
>  
> The downloaded source packages are in
>         ‘C:\Users\pbailey\AppData\Local\Temp\1\RtmpWiUQtf\downloaded_packages’


        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to