Running examples in ‘PubChemR-Ex.R’ failed
The error most likely occurred in:

> ### Name: retrieve
> ### Title: Retrieve Information from PubChem Instances
> ### Aliases: retrieve retrieve.PubChemInstance retrieve.PubChemInstanceList
> ###   retrieve.PC_Substance retrieve.PugViewInstance
> ###   retrieve.PugViewSection
> 
> ### ** Examples
> 
> compounds <- get_compounds(
+   identifier = c("aspirin", "ibuprofen", "rstudio"),
+   namespace = "name"
+  )
> 
> # Extract information for "aspirin"
> aspirin <- instance(compounds, "aspirin")
> # print(aspirin)
> 
> # Extract a specific slot from the "aspirin" compound.
> retrieve(aspirin, "props", .to.data.frame = TRUE)
# A tibble: 22 × 11
   Identifier label name  datatype release value implementation version software
   <chr>      <chr> <chr> <chr>    <chr>   <chr> <chr>          <chr>   <chr>   
 1 aspirin    Comp… Cano… 5        2021.1… 1     <NA>           <NA>    <NA>    
 2 aspirin    Comp… <NA>  7        2021.1… 212   E_COMPLEXITY   3.4.8.… Cactvs  
 3 aspirin    Count Hydr… 5        2021.1… 4     E_NHACCEPTORS  3.4.8.… Cactvs  
 4 aspirin    Count Hydr… 5        2021.1… 1     E_NHDONORS     3.4.8.… Cactvs  
 5 aspirin    Count Rota… 5        2021.1… 3     E_NROTBONDS    3.4.8.… Cactvs  
 6 aspirin    Fing… SubS… 16       2021.1… 0000… E_SCREEN       3.4.8.… Cactvs  
 7 aspirin    IUPA… Allo… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
 8 aspirin    IUPA… CAS-… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
 9 aspirin    IUPA… Mark… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
10 aspirin    IUPA… Pref… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
# ℹ 12 more rows
# ℹ 2 more variables: source <chr>, parameters <chr>
> 
> # Examples (PubChemInstanceList)
> retrieve(compounds, "aspirin", "props", .to.data.frame = TRUE)
# A tibble: 22 × 11
   Identifier label name  datatype release value implementation version software
   <chr>      <chr> <chr> <chr>    <chr>   <chr> <chr>          <chr>   <chr>   
 1 aspirin    Comp… Cano… 5        2021.1… 1     <NA>           <NA>    <NA>    
 2 aspirin    Comp… <NA>  7        2021.1… 212   E_COMPLEXITY   3.4.8.… Cactvs  
 3 aspirin    Count Hydr… 5        2021.1… 4     E_NHACCEPTORS  3.4.8.… Cactvs  
 4 aspirin    Count Hydr… 5        2021.1… 1     E_NHDONORS     3.4.8.… Cactvs  
 5 aspirin    Count Rota… 5        2021.1… 3     E_NROTBONDS    3.4.8.… Cactvs  
 6 aspirin    Fing… SubS… 16       2021.1… 0000… E_SCREEN       3.4.8.… Cactvs  
 7 aspirin    IUPA… Allo… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
 8 aspirin    IUPA… CAS-… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
 9 aspirin    IUPA… Mark… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
10 aspirin    IUPA… Pref… 1        2021.1… 2-ac… <NA>           2.7.0   Lexiche…
# ℹ 12 more rows
# ℹ 2 more variables: source <chr>, parameters <chr>
> 
> # Verbose Assay References to R Console
> assays <- get_assays(identifier = c(1234, 7815), namespace = "aid")
Error in parse(text = command_string) : <text>:1:7: unexpected 'in'
1: Error in
          ^
Calls: get_assays -> lapply -> FUN -> get_json -> eval -> parse
Execution halted