CRAN Package Check Results for Package geoSpectral

Last updated on 2019-11-22 00:49:13 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.17.4 17.85 128.34 146.19 NOTE
r-devel-linux-x86_64-debian-gcc 0.17.4 15.23 107.34 122.57 NOTE
r-devel-linux-x86_64-fedora-clang 0.17.4 167.28 NOTE
r-devel-linux-x86_64-fedora-gcc 0.17.4 175.65 NOTE
r-devel-windows-ix86+x86_64 0.17.4 63.00 154.00 217.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.17.4 33.00 138.00 171.00 OK
r-patched-linux-x86_64 0.17.4 17.36 119.85 137.21 OK
r-patched-solaris-x86 0.17.4 211.00 ERROR
r-release-linux-x86_64 0.17.4 15.32 122.07 137.39 OK
r-release-windows-ix86+x86_64 0.17.4 42.00 182.00 224.00 OK
r-release-osx-x86_64 0.17.4 OK
r-oldrel-windows-ix86+x86_64 0.17.4 23.00 130.00 153.00 OK
r-oldrel-osx-x86_64 0.17.4 OK

Check Details

Version: 0.17.4
Check: for non-standard things in the check directory
Result: NOTE
    Found the following files/directories:
     'anap.txt' 'anap_header.txt'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.17.4
Check: examples
Result: ERROR
    Running examples in ‘geoSpectral-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: Spectra-coerce
    > ### Title: Conversion between 'Spectra' and data.frame objects
    > ### Aliases: Spectra-coerce as,Spectra Spectra-coerce
    >
    > ### ** Examples
    >
    > #Convert a Spectra object to data.frame
    > sp <- spc.example_spectra()
    > df <- as(sp, "data.frame")
    > class(df); dim(df)
    [1] "data.frame"
    [1] 26 516
    > attributes(df)
    $names
     [1] "anap_300" "anap_301" "anap_302" "anap_303" "anap_304" "anap_305"
     [7] "anap_306" "anap_307" "anap_308" "anap_309" "anap_310" "anap_311"
     [13] "anap_312" "anap_313" "anap_314" "anap_315" "anap_316" "anap_317"
     [19] "anap_318" "anap_319" "anap_320" "anap_321" "anap_322" "anap_323"
     [25] "anap_324" "anap_325" "anap_326" "anap_327" "anap_328" "anap_329"
     [31] "anap_330" "anap_331" "anap_332" "anap_333" "anap_334" "anap_335"
     [37] "anap_336" "anap_337" "anap_338" "anap_339" "anap_340" "anap_341"
     [43] "anap_342" "anap_343" "anap_344" "anap_345" "anap_346" "anap_347"
     [49] "anap_348" "anap_349" "anap_350" "anap_351" "anap_352" "anap_353"
     [55] "anap_354" "anap_355" "anap_356" "anap_357" "anap_358" "anap_359"
     [61] "anap_360" "anap_361" "anap_362" "anap_363" "anap_364" "anap_365"
     [67] "anap_366" "anap_367" "anap_368" "anap_369" "anap_370" "anap_371"
     [73] "anap_372" "anap_373" "anap_374" "anap_375" "anap_376" "anap_377"
     [79] "anap_378" "anap_379" "anap_380" "anap_381" "anap_382" "anap_383"
     [85] "anap_384" "anap_385" "anap_386" "anap_387" "anap_388" "anap_389"
     [91] "anap_390" "anap_391" "anap_392" "anap_393" "anap_394" "anap_395"
     [97] "anap_396" "anap_397" "anap_398" "anap_399" "anap_400" "anap_401"
    [103] "anap_402" "anap_403" "anap_404" "anap_405" "anap_406" "anap_407"
    [109] "anap_408" "anap_409" "anap_410" "anap_411" "anap_412" "anap_413"
    [115] "anap_414" "anap_415" "anap_416" "anap_417" "anap_418" "anap_419"
    [121] "anap_420" "anap_421" "anap_422" "anap_423" "anap_424" "anap_425"
    [127] "anap_426" "anap_427" "anap_428" "anap_429" "anap_430" "anap_431"
    [133] "anap_432" "anap_433" "anap_434" "anap_435" "anap_436" "anap_437"
    [139] "anap_438" "anap_439" "anap_440" "anap_441" "anap_442" "anap_443"
    [145] "anap_444" "anap_445" "anap_446" "anap_447" "anap_448" "anap_449"
    [151] "anap_450" "anap_451" "anap_452" "anap_453" "anap_454" "anap_455"
    [157] "anap_456" "anap_457" "anap_458" "anap_459" "anap_460" "anap_461"
    [163] "anap_462" "anap_463" "anap_464" "anap_465" "anap_466" "anap_467"
    [169] "anap_468" "anap_469" "anap_470" "anap_471" "anap_472" "anap_473"
    [175] "anap_474" "anap_475" "anap_476" "anap_477" "anap_478" "anap_479"
    [181] "anap_480" "anap_481" "anap_482" "anap_483" "anap_484" "anap_485"
    [187] "anap_486" "anap_487" "anap_488" "anap_489" "anap_490" "anap_491"
    [193] "anap_492" "anap_493" "anap_494" "anap_495" "anap_496" "anap_497"
    [199] "anap_498" "anap_499" "anap_500" "anap_501" "anap_502" "anap_503"
    [205] "anap_504" "anap_505" "anap_506" "anap_507" "anap_508" "anap_509"
    [211] "anap_510" "anap_511" "anap_512" "anap_513" "anap_514" "anap_515"
    [217] "anap_516" "anap_517" "anap_518" "anap_519" "anap_520" "anap_521"
    [223] "anap_522" "anap_523" "anap_524" "anap_525" "anap_526" "anap_527"
    [229] "anap_528" "anap_529" "anap_530" "anap_531" "anap_532" "anap_533"
    [235] "anap_534" "anap_535" "anap_536" "anap_537" "anap_538" "anap_539"
    [241] "anap_540" "anap_541" "anap_542" "anap_543" "anap_544" "anap_545"
    [247] "anap_546" "anap_547" "anap_548" "anap_549" "anap_550" "anap_551"
    [253] "anap_552" "anap_553" "anap_554" "anap_555" "anap_556" "anap_557"
    [259] "anap_558" "anap_559" "anap_560" "anap_561" "anap_562" "anap_563"
    [265] "anap_564" "anap_565" "anap_566" "anap_567" "anap_568" "anap_569"
    [271] "anap_570" "anap_571" "anap_572" "anap_573" "anap_574" "anap_575"
    [277] "anap_576" "anap_577" "anap_578" "anap_579" "anap_580" "anap_581"
    [283] "anap_582" "anap_583" "anap_584" "anap_585" "anap_586" "anap_587"
    [289] "anap_588" "anap_589" "anap_590" "anap_591" "anap_592" "anap_593"
    [295] "anap_594" "anap_595" "anap_596" "anap_597" "anap_598" "anap_599"
    [301] "anap_600" "anap_601" "anap_602" "anap_603" "anap_604" "anap_605"
    [307] "anap_606" "anap_607" "anap_608" "anap_609" "anap_610" "anap_611"
    [313] "anap_612" "anap_613" "anap_614" "anap_615" "anap_616" "anap_617"
    [319] "anap_618" "anap_619" "anap_620" "anap_621" "anap_622" "anap_623"
    [325] "anap_624" "anap_625" "anap_626" "anap_627" "anap_628" "anap_629"
    [331] "anap_630" "anap_631" "anap_632" "anap_633" "anap_634" "anap_635"
    [337] "anap_636" "anap_637" "anap_638" "anap_639" "anap_640" "anap_641"
    [343] "anap_642" "anap_643" "anap_644" "anap_645" "anap_646" "anap_647"
    [349] "anap_648" "anap_649" "anap_650" "anap_651" "anap_652" "anap_653"
    [355] "anap_654" "anap_655" "anap_656" "anap_657" "anap_658" "anap_659"
    [361] "anap_660" "anap_661" "anap_662" "anap_663" "anap_664" "anap_665"
    [367] "anap_666" "anap_667" "anap_668" "anap_669" "anap_670" "anap_671"
    [373] "anap_672" "anap_673" "anap_674" "anap_675" "anap_676" "anap_677"
    [379] "anap_678" "anap_679" "anap_680" "anap_681" "anap_682" "anap_683"
    [385] "anap_684" "anap_685" "anap_686" "anap_687" "anap_688" "anap_689"
    [391] "anap_690" "anap_691" "anap_692" "anap_693" "anap_694" "anap_695"
    [397] "anap_696" "anap_697" "anap_698" "anap_699" "anap_700" "anap_701"
    [403] "anap_702" "anap_703" "anap_704" "anap_705" "anap_706" "anap_707"
    [409] "anap_708" "anap_709" "anap_710" "anap_711" "anap_712" "anap_713"
    [415] "anap_714" "anap_715" "anap_716" "anap_717" "anap_718" "anap_719"
    [421] "anap_720" "anap_721" "anap_722" "anap_723" "anap_724" "anap_725"
    [427] "anap_726" "anap_727" "anap_728" "anap_729" "anap_730" "anap_731"
    [433] "anap_732" "anap_733" "anap_734" "anap_735" "anap_736" "anap_737"
    [439] "anap_738" "anap_739" "anap_740" "anap_741" "anap_742" "anap_743"
    [445] "anap_744" "anap_745" "anap_746" "anap_747" "anap_748" "anap_749"
    [451] "anap_750" "anap_751" "anap_752" "anap_753" "anap_754" "anap_755"
    [457] "anap_756" "anap_757" "anap_758" "anap_759" "anap_760" "anap_761"
    [463] "anap_762" "anap_763" "anap_764" "anap_765" "anap_766" "anap_767"
    [469] "anap_768" "anap_769" "anap_770" "anap_771" "anap_772" "anap_773"
    [475] "anap_774" "anap_775" "anap_776" "anap_777" "anap_778" "anap_779"
    [481] "anap_780" "anap_781" "anap_782" "anap_783" "anap_784" "anap_785"
    [487] "anap_786" "anap_787" "anap_788" "anap_789" "anap_790" "anap_791"
    [493] "anap_792" "anap_793" "anap_794" "anap_795" "anap_796" "anap_797"
    [499] "anap_798" "anap_799" "anap_800" "idx" "CRUISE" "STATION"
    [505] "CAST" "METHOD" "NISKIN" "REPLICATE" "DEPTH" "A"
    [511] "Snap" "Offset" "LON" "LAT" "TIME" "ENDTIME"
    
    $row.names
     [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
    [26] 26
    
    $class
    [1] "data.frame"
    
    $ShortName
    [1] "a_nap"
    
    $LongName
    [1] "Absorption coefficient by non-algal particles"
    
    $Wavelengths
     [1] 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
     [19] 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335
     [37] 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353
     [55] 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371
     [73] 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389
     [91] 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407
    [109] 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425
    [127] 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443
    [145] 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461
    [163] 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479
    [181] 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497
    [199] 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515
    [217] 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533
    [235] 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551
    [253] 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569
    [271] 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587
    [289] 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605
    [307] 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623
    [325] 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641
    [343] 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659
    [361] 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677
    [379] 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695
    [397] 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713
    [415] 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731
    [433] 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749
    [451] 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767
    [469] 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785
    [487] 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800
    
    $Units
    [1] "1/m"
    
    $header
    $header$Station
    [1] NA
    
    $header$Cruise
    [1] NA
    
    $header$Latitude
    [1] NA
    
    $header$Longitude
    [1] NA
    
    
    >
    > #Convert the data.frame back to Spectra
    > sp2 <- as(df, "Spectra")
    >
    > #Convert a bare data.frame to Spectra with minimal attributes
    > df2 <- data.frame(ch1=c(1,2,3,4), ch2=c(5,6,7,8), TIME=Sys.time()+1:4, LAT=1:4, LON=5:8)
    > attr(df2, "Units") <- "m-1"
    > attr(df2, "Wavelengths") <- c(500, 600)
    > attr(df2, "ShortName") <- "abs"
    > as(df2, "Spectra")
    Error in validityMethod(as(object, superClass)) :
     tz1.set == tz2.set is not TRUE
    Calls: as ... anyStrings -> isTRUE -> validityMethod -> stopifnot
    Execution halted
Flavor: r-patched-solaris-x86