Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

send_email_update_tar : resolving error with function arguments. #34

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

deanmarchiori
Copy link
Contributor

@deanmarchiori deanmarchiori commented Mar 28, 2024

This addresses #33

Functional Test

Installed via renv in local project and tested:

"containerTemplateUtils": {
      "Package": "containerTemplateUtils",
      "Version": "0.0.0.9006",
      "Source": "GitHub",
      "RemoteType": "github",
      "RemoteHost": "api.github.com",
      "RemoteUsername": "deanmarchiori",
      "RemoteRepo": "containerTemplateUtils",
      "RemoteRef": "7090678db08f6080c3df504a577bbce841f203bb",
      "RemoteSha": "7090678db08f6080c3df504a577bbce841f203bb",
      "Requirements": [
        "blastula",
        "cli",
        "gert",
        "glue",
        "mime",
        "paws",
        "purrr"
      ],
      "Hash": "16303537bc419b31f33ad659b78dc360"
    },

> containerTemplateUtils::send_email_update_tar(
+   to = "dean@wavedatalabs.com.au",
+   from = "dean@wavedatalabs.com.au,
+   project_name = "Test",
+   attach = TRUE,
+   attachment_paths = "outputs/test.html",
+   use_hyperlinks = TRUE,
+   hyperlinks_text = "Archived Report",
+   hyperlinks_url = "https://test.html",
+   test = TRUE
+ )
The email message was sent successfully.

Checks

==> devtools::check()

══ Documenting ═══════════════════════════════════════════════════════════════════════════════════════════
ℹ Updating containerTemplateUtils documentation
ℹ Loading containerTemplateUtils
Warning: [utils-make-urls.R:12] @examples requires a value
Warning: [utils-send-email.R:136] @example must be a single line
ℹ Do you want @examples?

══ Building ══════════════════════════════════════════════════════════════════════════════════════════════
Setting env vars:
• CFLAGS    : -Wall -pedantic -fdiagnostics-color=always
• CXXFLAGS  : -Wall -pedantic -fdiagnostics-color=always
• CXX11FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX14FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX17FLAGS: -Wall -pedantic -fdiagnostics-color=always
• CXX20FLAGS: -Wall -pedantic -fdiagnostics-color=always
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/home/wavedatalabs/repos/containerTemplateUtils/DESCRIPTION’ ...
─  preparing ‘containerTemplateUtils’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
   Omitted ‘LazyData’ from DESCRIPTION
─  building ‘containerTemplateUtils_0.0.0.9006.tar.gz’
   
══ Checking ══════════════════════════════════════════════════════════════════════════════════════════════
Setting env vars:
• _R_CHECK_CRAN_INCOMING_USE_ASPELL_           : TRUE
• _R_CHECK_CRAN_INCOMING_REMOTE_               : FALSE
• _R_CHECK_CRAN_INCOMING_                      : FALSE
• _R_CHECK_FORCE_SUGGESTS_                     : FALSE
• _R_CHECK_PACKAGES_USED_IGNORE_UNUSED_IMPORTS_: FALSE
• NOT_CRAN                                     : true
── R CMD check ───────────────────────────────────────────────────────────────────────────────────────────
─  using log directory ‘/home/wavedatalabs/repos/containerTemplateUtils.Rcheck’
─  using R version 4.3.3 (2024-02-29)
─  using platform: x86_64-pc-linux-gnu (64-bit)
─  R was compiled by
       gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
       GNU Fortran (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
─  running under: Ubuntu 22.04.4 LTS
─  using session charset: UTF-8
─  using options ‘--no-manual --as-cran’
✔  checking for file ‘containerTemplateUtils/DESCRIPTION’
─  this is package ‘containerTemplateUtils’ version ‘0.0.0.9006’
─  package encoding: UTF-8
✔  checking package namespace information ...
✔  checking package dependencies (5.7s)
✔  checking if this is a source package
✔  checking if there is a namespace
✔  checking for executable files ...
✔  checking for hidden files and directories ...
✔  checking for portable file names
✔  checking for sufficient/correct file permissions
✔  checking serialization versions
✔  checking whether package ‘containerTemplateUtils’ can be installed (1.6s)
✔  checking installed package size ...
✔  checking package directory ... 
✔  checking for future file timestamps ...
✔  checking DESCRIPTION meta-information (417ms)
✔  checking top-level files ...
✔  checking for left-over files
✔  checking index information
✔  checking package subdirectories ...
✔  checking R files for non-ASCII characters ...
✔  checking R files for syntax errors ...
✔  checking whether the package can be loaded ...
✔  checking whether the package can be loaded with stated dependencies ...
✔  checking whether the package can be unloaded cleanly ...
✔  checking whether the namespace can be loaded with stated dependencies ...
✔  checking whether the namespace can be unloaded cleanly ...
✔  checking loading without being on the library search path ...
✔  checking dependencies in R code (784ms)
✔  checking S3 generic/method consistency ...
✔  checking replacement functions ...
✔  checking foreign function calls ...
✔  checking R code for possible problems (3.1s)
✔  checking Rd files ...
✔  checking Rd metadata ...
✔  checking Rd line widths ...
✔  checking Rd cross-references ...
✔  checking for missing documentation entries ...
✔  checking for code/documentation mismatches (607ms)
✔  checking Rd \usage sections (474ms)
✔  checking Rd contents ...
✔  checking for unstated dependencies in examples ...
✔  checking examples (629ms)
✔  checking for non-standard things in the check directory
✔  checking for detritus in the temp directory
   
   
── R CMD check results ──────────────────────────────────────────── containerTemplateUtils 0.0.0.9006 ────
Duration: 17.9s

0 errors ✔ | 0 warnings ✔ | 0 notes ✔

R CMD check succeeded

@deanmarchiori deanmarchiori changed the title resolving error with function arguments. send_email_update_tar : resolving error with function arguments. Mar 28, 2024
@deanmarchiori deanmarchiori marked this pull request as ready for review March 28, 2024 02:32
updating the description to show a version change
@collinschwantes collinschwantes merged commit 9ee2f5b into ecohealthalliance:main Mar 29, 2024
@deanmarchiori deanmarchiori deleted the patch-email branch April 1, 2024 21:58
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants