Creation of the package


I developed and built a package for myself. After checking, I am receiving the following error"
E checking whether package 'UnivariateTable' can be installed (4.8s)
Installation failed.
See 'C:/Users/user/Desktop/UnivariateTable.Rcheck/00install.out' for details.

for details.

-- R CMD check results ------------------------------ UnivariateTable 0.1.0 ----
Duration: 17.9s

checking whether package 'UnivariateTable' can be installed ... ERROR
See below...

-- Install failure -------------------------------------------------------------

  • installing source package 'UnivariateTable' ...
    ** using staged installation
    ** R
    ** byte-compile and prepare package for lazy loading
    Installing package into 'C:/Users/user/AppData/Local/Temp/Rtmp6txm3s/working_dir/Rtmp8wQ1pZ/RLIBS_1fe01f8e11f6'
    (as 'lib' is unspecified)
    Error in contrib.url(repos, "source") :
    trying to use CRAN without setting a mirror
    Error: unable to load R code in package 'UnivariateTable'
    Execution halted
    ERROR: lazy loading failed for package 'UnivariateTable'
  • removing 'C:/Users/user/Desktop/UnivariateTable.Rcheck/UnivariateTable'

1 error x | 0 warnings v | 0 notes v
Error: R CMD check found ERRORs
Execution halted

Exited with status 1.

Can someone help me to error. It will be highly appreciated.

Ramani Swarna

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.