Watts-College / cpp-527-fall-2021

A course shell for CPP 527 Foundations of Data Science II
https://watts-college.github.io/cpp-527-fall-2021/
2 stars 6 forks source link

final project- installing error #65

Open Jana-Ajeeb opened 3 years ago

Jana-Ajeeb commented 3 years ago

Hello Dr.

I'm trying to install genderdata packages and it's giving me this error. error

lecy commented 3 years ago

Try downloading the tarball and installing locally (under the menu in R there is a local install option):

https://github.com/Watts-College/cpp-527-fall-2021/issues/55

Jana-Ajeeb commented 3 years ago

I tried and this appeared. error

lecy commented 3 years ago

Download the tarball (zipped package file):

https://api.github.com/repos/lmullen/genderdata/tarball/HEAD

Package >> Install packages from local files

image

Jana-Ajeeb commented 3 years ago

this was downloaded from the link dow

And then i tried Package >> Install packages from local files>>the above file: loc

I don't know if I'm doing things right

lecy commented 3 years ago

It looks like you are doing it correctly, not sure why you are getting that error.

Here is what I see when I install locally:

utils:::menuInstallLocal()
Warning in untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
* installing *source* package 'genderdata' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package 'genderdata'
    finding HTML links ... done
    ipums_usa                               html  
    kantrowitz                              html  
    napp                                    html  
    ssa_national                            html  
    ssa_state                               html  
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
*** arch - x64
** testing if installed package can be loaded from final location
*** arch - i386
*** arch - x64
** testing if installed package keeps a record of temporary installation path
* DONE (genderdata)

I don't know what "incomplete block on file" means. Was the file completely downloaded before you tried installing it? A file will be locked if it is open by another program, or sometimes when it is being synced to the cloud. Did you have the file open when trying to install it?

Otherwise it's a big file so perhaps it's getting corrupted during the download phase? Try downloading it again and make sure it looks like the download is complete before attempting to install.

Here is the file posted on DropBox - maybe their file transfer would be a little cleaner?

https://www.dropbox.com/s/79q3pxi29lun5tf/lmullen-genderdata-v0.1-23-gf598c84.tar.gz?dl=0

You are doing the right steps. Just need to try a few things until the package installs correctly.

Jana-Ajeeb commented 3 years ago

Finally, this worked perfectly Thank you so much!!