hubverse-org / hubEnsembles

Ensemble methods for combining hub model outputs.
https://hubverse-org.github.io/hubEnsembles/
Other
5 stars 2 forks source link

Warning on install #24

Closed LucieContamin closed 2 months ago

LucieContamin commented 1 year ago

When installing the package by doing: remotes::install_github("Infectious-Disease-Modeling-Hubs/hubEnsembles")

The install prints multiple Warning:

 Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/UMass-ar/2022-11-28-UMass-ar.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/UMass-ar/2022-12-05-UMass-ar.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/UMass-ar/2022-12-12-UMass-ar.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/UMass-gbq/2022-11-28-UMass-gbq.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/UMass-gbq/2022-12-05-UMass-gbq.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/UMass-gbq/2022-12-12-UMass-gbq.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/simple_hub-baseline/2022-11-28-simple_hub-baseline.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/simple_hub-baseline/2022-12-05-simple_hub-baseline.csv’
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘hubEnsembles/inst/example-data/example-simple-forecast-hub/model-output/simple_hub-baseline/2022-12-12-simple_hub-baseline.csv’

It does not seem to impact the install or the usage of the package but might be good to take a look at it to avoid confusion for users.

elray1 commented 1 year ago

I guess we could do things like rename the folder the hub is in to just example-hub and choose shorter model names to get to shorter overall file names? maybe those changes should be made in the upstream example-simple-forecast-hub rather than here?

@annakrystalli, do you have any other ideas/suggestions about a good way to deal with this?

lshandross commented 2 months ago

Usage of in-package files with problematic names has been superseded by data from the hubExamples package. The original files have been deleted in the linked commit/pull request.