Skip to content

epitools should declare its dependency on lubridate #20

@capnrefsmmat

Description

@capnrefsmmat

I just installed epitools for the first time after also upgrading R, so I didn't have many packages installed. Despite installing all the dependencies, this happened:

The downloaded binary packages are in
	/var/folders/hw/dfcgbyln1_z_rvsqllvqz2_00000gn/T//RtmpYeh92p/downloaded_packages
✔  checking for file ‘/Users/alexreinhart/Research/COVIDcast/epitools/DESCRIPTION’ ...
─  preparing ‘epitools’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘epitools_1.0.0.tar.gz’
   
Running /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL \
  /var/folders/hw/dfcgbyln1_z_rvsqllvqz2_00000gn/T//RtmpYeh92p/epitools_1.0.0.tar.gz \
  --install-tests 
* installing to library ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library’
* installing *source* package ‘epitools’ ...
** using staged installation
** R
** 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 ‘lubridate’
Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
ERROR: lazy loading failed for package ‘epitools’
* removing ‘/Library/Frameworks/R.framework/Versions/4.1/Resources/library/epitools’
Error in (function (command = NULL, args = character(), error_on_status = TRUE,  : 
  System command 'R' failed, exit status: 1, stdout & stderr were printed

I suspect this is because the DESCRIPTION does not mention lubridate, but the NAMESPACE imports from it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions