Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File size issues #8

Open
quantifish opened this issue May 28, 2020 · 3 comments
Open

File size issues #8

quantifish opened this issue May 28, 2020 · 3 comments

Comments

@quantifish
Copy link
Owner

The size of some of the files in data is too big:

> checking installed package size ... NOTE
    installed size is 95.9Mb
    sub-directories of 1Mb or more:
      data  94.6Mb
      doc    1.1Mb

0 errors ✓ | 0 warnings ✓ | 1 note x

R CMD check succeeded

I could get rid of the New Zealand coastline shapefiles and replace with:

nz <- ne_countries(scale = "medium", returnclass = "sf") %>%
  st_transform(proj_nzsf()) %>%
  st_crop(get_statistical_areas(area = "EEZ"))

But the scale = "large requires another package that appears difficult to install. May be best to leave this until that package is updated. Other big files include:

image

@quantifish
Copy link
Owner Author

quantifish commented May 28, 2020

Can install the tricky package with:

install_github(repo = "ropensci/rnaturalearthhires")

However, the resolution is not good enough for fine-scale NZ work. Suggest leaving as is.

The largest sized files are depth so should focus on these.

@quantifish
Copy link
Owner Author

The fst package was no help as that is for saving data.frames only.

@quantifish
Copy link
Owner Author

The depth data is big - this could be put in another package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant