Skip to content

Commit

Permalink
bls rcurl
Browse files Browse the repository at this point in the history
  • Loading branch information
ajdamico committed Oct 19, 2023
1 parent 9664189 commit f4374ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -6,6 +6,6 @@ Author: Anthony Joseph Damico
Maintainer: Anthony Joseph Damico <ajdamico@gmail.com>
Description: A continuous integration dummy package
License: GPL-3
Imports: survey, srvyr
Imports: RCurl, survey, srvyr
Encoding: UTF-8
LazyData: true
5 changes: 3 additions & 2 deletions tests/setup.R
@@ -1,14 +1,15 @@
# don't judge me bruno
# eat one hour, sleep the rest
# it's my lazy day
library(RCurl)

atus_csv_import <-
function( this_url ){

this_tf <- tempfile()

download.file( this_url , this_tf , mode = 'wb' )
writeBin( getBinaryURL( this_url ) , this_tf )

unzipped_files <- unzip( this_tf , exdir = tempdir() )

this_dat <- grep( '\\.dat$' , unzipped_files , value = TRUE )
Expand Down

0 comments on commit f4374ae

Please sign in to comment.