Skip to content

Unable to install ASGS 2021 #5

@BJ-Cochrane

Description

@BJ-Cochrane

Hi Hugh,

I've attempted to install the 2021 ASGS version and get the below error.

I've used ASGS.foyer::install_ASGS(url.tar.gz = "https://github.com/HughParsonage/ASGS/archive/refs/tags/v2021.0.tar.gz") and also manually downloading and installing the .tar.gz from https://github.com/HughParsonage/ASGS/releases/tag/v2021.0. Both result in the same error.

Is there a way to specify that install_ASGS installs the 2021 version, currently it pulls the 0.4.0 version which doesn't have 2021 statistical areas. Alternatively any advice you had to getting the 2021 statistical areas working in the 0.4.0 version - I'm looking to use them for latlon2SA with 2021 areas!

Thanks, really love the package!

ASGS.foyer::install_ASGS(url.tar.gz = "https://github.com/HughParsonage/ASGS/archive/refs/tags/v2021.0.tar.gz")
Attempting install of ASGS (700 MB) from GitHub. This should take some minutes to download.
trying URL 'https://github.com/HughParsonage/ASGS/archive/refs/tags/v2021.0.tar.gz'
downloaded 1407.8 MB

Warning in untar2(tarfile, files, list, exdir, restore_times) :
skipping pax global extended headers

  • installing source package 'ASGS' ...
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    Warning: file 'CED_2016_centroids.rda' has magic number 'versi'
    Use of save versions prior to 2 is deprecated
    Error in load(zfile, envir = tmp_env) :
    bad restore file magic number (file may be corrupted) -- no data loaded
    ERROR: lazydata failed for package 'ASGS'
    *removing 'C:/DIR/Documents/R/win-library/4.3/ASGS'
    Warning message:
    In utils::install.packages(tempf, lib = lib, type = "source", repos = NULL, :
    installation of package ‘C:/Users/BCOCHR~1/AppData/Local/Temp/RtmpWq1kVK/file7d8478c331e.tar.gz’ had non-zero exit status

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions