CRAN Package Check Results for Package boxoffice

Last updated on 2019-10-30 07:50:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.0 2.03 30.76 32.79 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.0 1.59 24.23 25.82 ERROR
r-devel-linux-x86_64-fedora-clang 1.3.0 41.05 ERROR
r-devel-linux-x86_64-fedora-gcc 1.3.0 41.55 ERROR
r-devel-windows-ix86+x86_64 1.3.0 8.00 100.00 108.00 OK
r-patched-linux-x86_64 1.3.0 1.53 29.90 31.43 OK
r-patched-solaris-x86 1.3.0 52.00 ERROR
r-release-linux-x86_64 1.3.0 1.55 30.15 31.70 OK
r-release-windows-ix86+x86_64 1.2.2 6.00 57.00 63.00 ERROR
r-release-osx-x86_64 1.2.2 OK
r-oldrel-windows-ix86+x86_64 1.3.0 2.00 83.00 85.00 OK
r-oldrel-osx-x86_64 1.2.2 OK

Check Details

Version: 1.3.0
Check: tests
Result: ERROR
     Running 'spelling.R' [0s/1s]
     Running 'testthat.R' [5s/29s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(boxoffice)
     >
     > test_check("boxoffice")
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     The terms of use for boxofficemojo.com does not permit scraping without their written permission. If you do not have written permission, please ask them for it or change the site parameter to 'numbers' to use the-numbers.com which does not forbid scraping without permission.
     -- 1. Failure: columns have right names (@test-column-names.R#10) -------------
     Names of `christmas_num` ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     -- 2. Failure: columns have right names (@test-column-names.R#11) -------------
     Names of boxoffice(dates = as.Date("2017-12-25"), top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     -- 3. Failure: columns have right names (@test-column-names.R#13) -------------
     Names of boxoffice(dates = christmas) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     -- 4. Failure: columns have right names (@test-column-names.R#14) -------------
     Names of boxoffice(dates = christmas, top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     -- 5. Failure: column types are correct (@test-column-types.R#13) -------------
     all(...) isn't true.
    
     -- 6. Failure: column types are correct (@test-column-types.R#20) -------------
     all(lapply(boxoffice(dates = christmas), class) == col_types) isn't true.
    
     -- 7. Failure: column types are correct (@test-column-types.R#24) -------------
     all(...) isn't true.
    
     -- 8. Failure: proper dimmensions (@test-column-values.R#7) -------------------
     dim(christmas_num) not equal to c(44, 9).
     1/2 mismatches
     [2] 10 - 9 == 1
    
     -- 9. Failure: numeric columns are accurate (@test-column-values.R#45) --------
     christmas_num$percent_change[c(1:5, nums_ending_rows)] not equal to c(56, 111, 147, 162, 113, 1, 3, 56, -35, -25).
     target is NULL, current is numeric
    
     -- 10. Failure: numeric columns are accurate (@test-column-values.R#52) -------
     christmas_num$per_theater[c(1:5, nums_ending_rows)] not equal to c(6489, 5083, 1885, 1864, 1329, 92, 75, 66, 160, 117).
     target is NULL, current is numeric
    
     -- 11. Failure: categorical columns are accurate (@test-column-values.R#91) ---
     christmas_num$movie[c(1:5, nums_ending_rows)] not equal to c(...).
     2/10 mismatches
     x[1]: "Star Wars Ep. VIII: The Last <U+2026>"
     y[1]: "Star Wars Ep. VIII: The Las<U+2026>"
    
     x[10]: "Birdboy: The Forgotten Children"
     y[10]: "Birdboy: The Forgotten Chil<U+2026>"
    
     == testthat results ===========================================================
     [ OK: 104 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 11 ]
     1. Failure: columns have right names (@test-column-names.R#10)
     2. Failure: columns have right names (@test-column-names.R#11)
     3. Failure: columns have right names (@test-column-names.R#13)
     4. Failure: columns have right names (@test-column-names.R#14)
     5. Failure: column types are correct (@test-column-types.R#13)
     6. Failure: column types are correct (@test-column-types.R#20)
     7. Failure: column types are correct (@test-column-types.R#24)
     8. Failure: proper dimmensions (@test-column-values.R#7)
     9. Failure: numeric columns are accurate (@test-column-values.R#45)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘spelling.R’ [0s/1s]
     Running ‘testthat.R’ [4s/30s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(boxoffice)
     >
     > test_check("boxoffice")
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     The terms of use for boxofficemojo.com does not permit scraping without their written permission. If you do not have written permission, please ask them for it or change the site parameter to 'numbers' to use the-numbers.com which does not forbid scraping without permission.
     ── 1. Failure: columns have right names (@test-column-names.R#10) ─────────────
     Names of `christmas_num` ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 2. Failure: columns have right names (@test-column-names.R#11) ─────────────
     Names of boxoffice(dates = as.Date("2017-12-25"), top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 3. Failure: columns have right names (@test-column-names.R#13) ─────────────
     Names of boxoffice(dates = christmas) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 4. Failure: columns have right names (@test-column-names.R#14) ─────────────
     Names of boxoffice(dates = christmas, top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 5. Failure: column types are correct (@test-column-types.R#13) ─────────────
     all(...) isn't true.
    
     ── 6. Failure: column types are correct (@test-column-types.R#20) ─────────────
     all(lapply(boxoffice(dates = christmas), class) == col_types) isn't true.
    
     ── 7. Failure: column types are correct (@test-column-types.R#24) ─────────────
     all(...) isn't true.
    
     ── 8. Failure: proper dimmensions (@test-column-values.R#7) ───────────────────
     dim(christmas_num) not equal to c(44, 9).
     1/2 mismatches
     [2] 10 - 9 == 1
    
     ── 9. Failure: numeric columns are accurate (@test-column-values.R#45) ────────
     christmas_num$percent_change[c(1:5, nums_ending_rows)] not equal to c(56, 111, 147, 162, 113, 1, 3, 56, -35, -25).
     target is NULL, current is numeric
    
     ── 10. Failure: numeric columns are accurate (@test-column-values.R#52) ───────
     christmas_num$per_theater[c(1:5, nums_ending_rows)] not equal to c(6489, 5083, 1885, 1864, 1329, 92, 75, 66, 160, 117).
     target is NULL, current is numeric
    
     ── 11. Failure: categorical columns are accurate (@test-column-values.R#91) ───
     christmas_num$movie[c(1:5, nums_ending_rows)] not equal to c(...).
     2/10 mismatches
     x[1]: "Star Wars Ep. VIII: The Last …"
     y[1]: "Star Wars Ep. VIII: The Las…"
    
     x[10]: "Birdboy: The Forgotten Children"
     y[10]: "Birdboy: The Forgotten Chil…"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 11 ]
     1. Failure: columns have right names (@test-column-names.R#10)
     2. Failure: columns have right names (@test-column-names.R#11)
     3. Failure: columns have right names (@test-column-names.R#13)
     4. Failure: columns have right names (@test-column-names.R#14)
     5. Failure: column types are correct (@test-column-types.R#13)
     6. Failure: column types are correct (@test-column-types.R#20)
     7. Failure: column types are correct (@test-column-types.R#24)
     8. Failure: proper dimmensions (@test-column-values.R#7)
     9. Failure: numeric columns are accurate (@test-column-values.R#45)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [6s/35s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(boxoffice)
     >
     > test_check("boxoffice")
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     The terms of use for boxofficemojo.com does not permit scraping without their written permission. If you do not have written permission, please ask them for it or change the site parameter to 'numbers' to use the-numbers.com which does not forbid scraping without permission.
     ── 1. Failure: columns have right names (@test-column-names.R#10) ─────────────
     Names of `christmas_num` ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 2. Failure: columns have right names (@test-column-names.R#11) ─────────────
     Names of boxoffice(dates = as.Date("2017-12-25"), top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 3. Failure: columns have right names (@test-column-names.R#13) ─────────────
     Names of boxoffice(dates = christmas) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 4. Failure: columns have right names (@test-column-names.R#14) ─────────────
     Names of boxoffice(dates = christmas, top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 5. Failure: column types are correct (@test-column-types.R#13) ─────────────
     all(...) isn't true.
    
     ── 6. Failure: column types are correct (@test-column-types.R#20) ─────────────
     all(lapply(boxoffice(dates = christmas), class) == col_types) isn't true.
    
     ── 7. Failure: column types are correct (@test-column-types.R#24) ─────────────
     all(...) isn't true.
    
     ── 8. Failure: proper dimmensions (@test-column-values.R#7) ───────────────────
     dim(christmas_num) not equal to c(44, 9).
     1/2 mismatches
     [2] 10 - 9 == 1
    
     ── 9. Failure: numeric columns are accurate (@test-column-values.R#45) ────────
     christmas_num$percent_change[c(1:5, nums_ending_rows)] not equal to c(56, 111, 147, 162, 113, 1, 3, 56, -35, -25).
     target is NULL, current is numeric
    
     ── 10. Failure: numeric columns are accurate (@test-column-values.R#52) ───────
     christmas_num$per_theater[c(1:5, nums_ending_rows)] not equal to c(6489, 5083, 1885, 1864, 1329, 92, 75, 66, 160, 117).
     target is NULL, current is numeric
    
     ── 11. Failure: categorical columns are accurate (@test-column-values.R#91) ───
     christmas_num$movie[c(1:5, nums_ending_rows)] not equal to c(...).
     2/10 mismatches
     x[1]: "Star Wars Ep. VIII: The Last …"
     y[1]: "Star Wars Ep. VIII: The Las…"
    
     x[10]: "Birdboy: The Forgotten Children"
     y[10]: "Birdboy: The Forgotten Chil…"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 11 ]
     1. Failure: columns have right names (@test-column-names.R#10)
     2. Failure: columns have right names (@test-column-names.R#11)
     3. Failure: columns have right names (@test-column-names.R#13)
     4. Failure: columns have right names (@test-column-names.R#14)
     5. Failure: column types are correct (@test-column-types.R#13)
     6. Failure: column types are correct (@test-column-types.R#20)
     7. Failure: column types are correct (@test-column-types.R#24)
     8. Failure: proper dimmensions (@test-column-values.R#7)
     9. Failure: numeric columns are accurate (@test-column-values.R#45)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.3.0
Check: tests
Result: ERROR
     Running ‘spelling.R’
     Running ‘testthat.R’ [6s/29s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(boxoffice)
     >
     > test_check("boxoffice")
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     The terms of use for boxofficemojo.com does not permit scraping without their written permission. If you do not have written permission, please ask them for it or change the site parameter to 'numbers' to use the-numbers.com which does not forbid scraping without permission.
     ── 1. Failure: columns have right names (@test-column-names.R#10) ─────────────
     Names of `christmas_num` ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 2. Failure: columns have right names (@test-column-names.R#11) ─────────────
     Names of boxoffice(dates = as.Date("2017-12-25"), top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 3. Failure: columns have right names (@test-column-names.R#13) ─────────────
     Names of boxoffice(dates = christmas) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 4. Failure: columns have right names (@test-column-names.R#14) ─────────────
     Names of boxoffice(dates = christmas, top_n = 10) ('movie', 'distributor', 'gross', 'chgday', 'chgweek', 'theaters', 'pertheater', 'total_gross', 'days', 'date') don't match 'movie', 'distributor', 'gross', 'percent_change', 'theaters', 'per_theater', 'total_gross', 'days', 'date'
    
     ── 5. Failure: column types are correct (@test-column-types.R#13) ─────────────
     all(...) isn't true.
    
     ── 6. Failure: column types are correct (@test-column-types.R#20) ─────────────
     all(lapply(boxoffice(dates = christmas), class) == col_types) isn't true.
    
     ── 7. Failure: column types are correct (@test-column-types.R#24) ─────────────
     all(...) isn't true.
    
     ── 8. Failure: proper dimmensions (@test-column-values.R#7) ───────────────────
     dim(christmas_num) not equal to c(44, 9).
     1/2 mismatches
     [2] 10 - 9 == 1
    
     ── 9. Failure: numeric columns are accurate (@test-column-values.R#45) ────────
     christmas_num$percent_change[c(1:5, nums_ending_rows)] not equal to c(56, 111, 147, 162, 113, 1, 3, 56, -35, -25).
     target is NULL, current is numeric
    
     ── 10. Failure: numeric columns are accurate (@test-column-values.R#52) ───────
     christmas_num$per_theater[c(1:5, nums_ending_rows)] not equal to c(6489, 5083, 1885, 1864, 1329, 92, 75, 66, 160, 117).
     target is NULL, current is numeric
    
     ── 11. Failure: categorical columns are accurate (@test-column-values.R#91) ───
     christmas_num$movie[c(1:5, nums_ending_rows)] not equal to c(...).
     2/10 mismatches
     x[1]: "Star Wars Ep. VIII: The Last …"
     y[1]: "Star Wars Ep. VIII: The Las…"
    
     x[10]: "Birdboy: The Forgotten Children"
     y[10]: "Birdboy: The Forgotten Chil…"
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 104 | SKIPPED: 4 | WARNINGS: 3 | FAILED: 11 ]
     1. Failure: columns have right names (@test-column-names.R#10)
     2. Failure: columns have right names (@test-column-names.R#11)
     3. Failure: columns have right names (@test-column-names.R#13)
     4. Failure: columns have right names (@test-column-names.R#14)
     5. Failure: column types are correct (@test-column-types.R#13)
     6. Failure: column types are correct (@test-column-types.R#20)
     7. Failure: column types are correct (@test-column-types.R#24)
     8. Failure: proper dimmensions (@test-column-values.R#7)
     9. Failure: numeric columns are accurate (@test-column-values.R#45)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.3.0
Check: examples
Result: ERROR
    Running examples in ‘boxoffice-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: boxoffice
    > ### Title: Download Information on Box Office Results for Movies
    > ### Aliases: boxoffice
    >
    > ### ** Examples
    >
    > # Uses the-numbers.com website.
    > boxoffice(dates = as.Date("2017-12-25"))
    Error in curl::curl_fetch_memory(url, handle = handle) :
     Timeout was reached: [www.the-numbers.com] Resolving timed out after 10000 milliseconds
    Calls: boxoffice ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.2.2
Check: examples
Result: ERROR
    Running examples in 'boxoffice-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: boxoffice
    > ### Title: Download Information on Box Office Results for Movies
    > ### Aliases: boxoffice
    >
    > ### ** Examples
    >
    > # Uses the-numbers.com website.
    > boxoffice(dates = as.Date("2017-12-25"))
     movie distributor gross percent_change
    1 Star Wars Ep. VIII: The Las<c2><85> Walt Disney 27459557 56
    2 Jumanji: Welcome to the Jungle Sony Pictures 19138553 111
    3 Pitch Perfect 3 Universal 6496365 147
    4 The Greatest Showman 20th Century Fox 5604273 162
    5 Coco Walt Disney 2805466 113
    6 Ferdinand 20th Century Fox 2801780 84
    7 Downsizing Paramount Pictures 2715843 135
    8 All the Money in the World Sony Pictures 2565393 NA
    9 Father Figures Warner Bros. 2192067 200
    10 Darkest Hour Focus Features 1622510 73
    11 The Shape of Water Fox Searchlight 1419891 95
    12 Molly<c2><92>s Game STX Entertainment 1172036 NA
    13 Wonder Lionsgate 710214 77
    14 Daddy<c2><92>s Home 2 Paramount Pictures 544612 149
    15 Justice League Warner Bros. 435091 76
    16 Lady Bird A24 415989 60
    17 Thor: Ragnarok Walt Disney 329457 64
    18 The Disaster Artist A24 325057 77
    19 The Star Sony Pictures 238704 -13
    20 The Post 20th Century Fox 236046 35
    21 I, Tonya Neon 210755 109
    22 Three Billboards Outside Eb<c2><85> Fox Searchlight 207975 42
    23 Murder on the Orient Express 20th Century Fox 203411 58
    24 Phantom Thread Focus Features 127272 NA
    25 A Bad Moms Christmas STX Entertainment 60302 122
    26 Wonder Wheel Amazon Studios 42778 67
    27 The Man Who Invented Christmas Bleecker Street 33190 48
    28 Jane Abramorama Films 27215 NA
    29 Geostorm Warner Bros. 16062 169
    30 Only the Brave Sony Pictures 9790 145
    31 Hostiles Entertainment Studi<c2><85> 9606 65
    32 The Florida Project A24 9430 46
    33 Blade Runner 2049 Warner Bros. 8433 52
    34 Roman J. Israel, Esq. Sony Pictures 4786 63
    35 Same Kind of Different as Me Pure Flix Entertain<c2><85> 3069 135
    36 Victoria and Abdul Focus Features 2840 114
    37 Big Sonia Argot Pictures 2311 53
    38 Marshall Open Road 1937 83
    39 The Breadwinner GKIDS 792 27
    40 Let There Be Light Atlas Distribution 736 1
    41 The Killing of a Sacred Deer A24 602 3
    42 Thelma The Orchard 593 56
    43 BPM (Beats per Minute) The Orchard 160 -35
    44 Birdboy: The Forgotten Chil<c2><85> GKIDS 117 -25
     theaters per_theater total_gross days date
    1 4232 6489 395627411 11 2017-12-25
    2 3765 5083 71913848 6 2017-12-25
    3 3447 1885 26424890 4 2017-12-25
    4 3006 1864 19008847 6 2017-12-25
    5 2111 1329 164307743 34 2017-12-25
    6 3630 772 29601410 11 2017-12-25
    7 2668 1018 7670130 4 2017-12-25
    8 2074 1237 2565393 1 2017-12-25
    9 2902 755 5479518 4 2017-12-25
    10 806 2013 8367532 34 2017-12-25
    11 730 1945 8986046 25 2017-12-25
    12 271 4325 1172036 1 2017-12-25
    13 1130 629 115654826 39 2017-12-25
    14 1073 508 99751582 46 2017-12-25
    15 1101 395 223128877 39 2017-12-25
    16 402 1035 28715314 53 2017-12-25
    17 701 470 309454093 53 2017-12-25
    18 517 629 16020034 25 2017-12-25
    19 1106 216 38594870 39 2017-12-25
    20 9 26227 762057 4 2017-12-25
    21 42 5018 1277150 18 2017-12-25
    22 264 788 22949085 46 2017-12-25
    23 361 563 99444878 46 2017-12-25
    24 4 31818 127272 1 2017-12-25
    25 275 219 71571546 55 2017-12-25
    26 113 379 1205919 25 2017-12-25
    27 146 227 5419083 34 2017-12-25
    28 19 1432 1432348 67 2017-12-25
    29 110 146 33473188 67 2017-12-25
    30 86 114 18106612 67 2017-12-25
    31 3 3202 32455 4 2017-12-25
    32 43 219 5204890 81 2017-12-25
    33 75 112 91564672 81 2017-12-25
    34 49 98 11825352 39 2017-12-25
    35 45 68 6370123 67 2017-12-25
    36 24 118 22205730 95 2017-12-25
    37 3 770 94741 39 2017-12-25
    38 58 33 9450507 74 2017-12-25
    39 10 79 210278 39 2017-12-25
    40 8 92 7205484 60 2017-12-25
    41 8 75 2289084 67 2017-12-25
    42 9 66 127398 46 2017-12-25
    43 1 160 92117 67 2017-12-25
    44 1 117 12620 11 2017-12-25
    >
    > # Uses boxofficemojo.com website.
    > boxoffice(dates = as.Date("2017-12-25"), site = "mojo")
    The terms of use for boxofficemojo.com does not permit scraping without their written permission. If you do not have written permission, please ask them for it or change the site parameter to 'numbers' to use the-numbers.com which does not forbid scraping without permission.
    Error in `$<-.data.frame`(`*tmp*`, "date", value = 17525) :
     replacement has 1 row, data has 0
    Calls: boxoffice -> $<- -> $<-.data.frame
    Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.2.2
Check: tests
Result: ERROR
     Running 'spelling.R' [0s]
     Running 'testthat.R' [5s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(boxoffice)
     >
     > test_check("boxoffice")
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     Please note that these numbers are not adjusted for inflation.
     The terms of use for boxofficemojo.com does not permit scraping without their written permission. If you do not have written permission, please ask them for it or change the site parameter to 'numbers' to use the-numbers.com which does not forbid scraping without permission.
     Error in `$<-.data.frame`(`*tmp*`, "date", value = 17525) :
     replacement has 1 row, data has 0
     Calls: test_check ... eval -> eval -> <Anonymous> -> $<- -> $<-.data.frame
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.2.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'get_daily_box_office_info.Rmd' using rmarkdown
    Quitting from lines 48-53 (get_daily_box_office_info.Rmd)
    Error: processing vignette 'get_daily_box_office_info.Rmd' failed with diagnostics:
    replacement has 1 row, data has 0
    --- failed re-building 'get_daily_box_office_info.Rmd'
    
    --- re-building 'top_grossing.Rmd' using rmarkdown
    --- finished re-building 'top_grossing.Rmd'
    
    SUMMARY: processing the following file failed:
     'get_daily_box_office_info.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-release-windows-ix86+x86_64