Closed briatte closed 7 years ago
I think this should have been fixed by 8fed1465f5afeae3596cf31707ebca4126ed7e6c, would you mind testing again? Regarding the last warning, I think it's nothing important, but I'll try to remove it.
I still get one 404 during install, but that does not seem to have everything working afterwards:
> install_github("joelgombin/Insee2MonetDB")
Downloading GitHub repo joelgombin/Insee2MonetDB@master
from URL https://api.github.com/repos/joelgombin/Insee2MonetDB/zipball/master
Installing Insee2MonetDB
curl: (22) The requested URL returned error: 404 Not Found
'/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ --no-save --no-restore \
--quiet CMD INSTALL \
'/private/var/folders/b4/8mqg2_7107v7269fc9xgj9gw0000gn/T/RtmpFVITXj/devtoolsb22b5fa2f1f9/joelgombin-Insee2MonetDB-93b4179' \
--library='/Users/fr/Library/R/3.3/library' --with-keep.source --install-tests
* installing *source* package ‘Insee2MonetDB’ ...
Warning in .write_description(db, file.path(outDir, "DESCRIPTION")) :
Unknown encoding with non-ASCII data: converting to ASCII
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (Insee2MonetDB)
> library(Insee2MonetDB)
> ?Insee2MonetDB
> tbl_mobsco_2012 <- Insee2MonetDB("http://telechargement.insee.fr/fichiersdetail/RP2012/txt/RP2012_MOBSCO_txt.zip")
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 36.7M 100 36.7M 0 0 3790k 0 0:00:09 0:00:09 --:--:-- 4107k
arguments 'minimized' and 'invisible' are for Windows only
Source: query [?? x 22]
Database: MonetDBLite 0.3.1 (/Users/fr/MonetDB)
Warning: closing unused connection 3 (/var/folders/b4/8mqg2_7107v7269fc9xgj9gw0000gn/T//RtmphwsM2f/FD_MOBSCO_2012.txt)
commune arm dcetue dcetuf agerev10 csm derou dipl iletud iletuu ineem inpsm ipondi lprm metrodom
<chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <dbl> <chr> <chr>
1 01001 ZZZZZ 99999 01001 05 3 Z ZZ 1 1 0 2 3.984615 3 M
2 01001 ZZZZZ 99999 01001 06 3 Z ZZ 1 1 0 2 3.984615 3 M
3 01001 ZZZZZ 99999 01001 06 4 Z ZZ 1 1 0 2 3.984615 3 M
4 01001 ZZZZZ 99999 01001 06 4 Z ZZ 1 1 2 4 3.984615 3 M
5 01001 ZZZZZ 99999 01001 06 1 Z ZZ 1 1 1 3 3.984615 3 M
6 01001 ZZZZZ 99999 01001 04 3 Z ZZ 1 1 0 1 3.984615 3 M
7 01001 ZZZZZ 99999 01001 06 4 Z ZZ 1 1 0 2 3.984615 3 M
8 01001 ZZZZZ 99999 01001 06 5 Z ZZ 1 1 1 2 3.984615 3 M
9 01001 ZZZZZ 99999 01001 06 5 Z ZZ 1 1 0 2 3.984615 3 M
10 01001 ZZZZZ 99999 01001 11 4 Z ZZ 1 1 0 2 3.984615 3 M
# ... with more rows, and 7 more variables: nperr <chr>, region <chr>, regionetud <chr>, sexe <chr>,
# stocd <chr>, typmr <chr>, voit <chr>
>
>
Here's what I get when installing the package:
The package still installs fine, and the example works, although with warnings again: